/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Modal Display Logic */
.modal {
    display: none;
}

.modal.active {
    display: flex;
}

/* NiaNi AI Button */
.niani-btn {
    background: linear-gradient(135deg, #ff00ff 0%, #cc00ff 50%, #9933ff 100%);
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.niani-btn-text {
    display: inline;
    letter-spacing: 0;
    word-spacing: 0;
}

.niani-btn:hover {
    background: linear-gradient(135deg, #e600e6 0%, #b800e6 50%, #8029e6 100%);
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(204, 0, 255, 0.5);
}

.niani-icon {
    font-size: 16px;
}

.niani-underline {
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Filter Button Active State */
.filter-btn.active {
    background: #000000 !important;
    color: white !important;
    border-color: #000000 !important;
}

/* Gender Filter Select */
#genderFilter {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
    min-width: 150px;
}

#genderFilter option,
#scoreRangeFilter option,
#ageRangeFilter option {
    background: #1a1a1a;
    color: white;
}

#scoreRangeFilter,
#ageRangeFilter {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
    min-width: 150px;
}

/* Candidates Table Header */
#tasksTableBody + thead tr,
thead tr {
    margin-bottom: 16px;
}

thead th:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

thead th:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* Stats Card Base State */
.stat-card {
    transition: all 0.2s ease-in-out;
}

.stat-card:hover {
    transform: scale(1.02);
}

/* When any card is selected, blur the others slightly */
.stat-card.dimmed {
    filter: blur(1px) saturate(0.7);
    transform: scale(0.98);
}

/* Common active styles for all cards */
.stat-card.active {
    transform: scale(1.02);
}

.stat-card.active h3,
.stat-card.active .text-sm,
.stat-card.active .text-xs {
    color: #ffffff !important;
}

.stat-card.active > div > div:first-child {
    background: rgba(255, 255, 255, 0.3) !important;
}

/* Match Perfecto - Blue */
.stat-card[data-score-filter="match-perfecto"].active {
    background: #3b82f6 !important;
    border: 2px solid #2563eb !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.stat-card[data-score-filter="match-perfecto"].active #progressMatchPerfecto {
    background: #ffffff !important;
}

/* Prometedor - Green */
.stat-card[data-score-filter="prometedor"].active {
    background: #22c55e !important;
    border: 2px solid #16a34a !important;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.stat-card[data-score-filter="prometedor"].active #progressPrometedor {
    background: #ffffff !important;
}

/* Diamante en Bruto - Yellow */
.stat-card[data-score-filter="diamante"].active {
    background: #eab308 !important;
    border: 2px solid #ca8a04 !important;
    box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.2);
}

.stat-card[data-score-filter="diamante"].active #progressDiamante {
    background: #ffffff !important;
}

/* Red Flags - Red */
.stat-card[data-score-filter="red-flags"].active {
    background: #ef4444 !important;
    border: 2px solid #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.stat-card[data-score-filter="red-flags"].active #progressRedFlags {
    background: #ffffff !important;
}

/* Upload Area States */
.upload-area.dragover {
    background: rgba(74, 144, 226, 0.2) !important;
    border-color: #4a90e2 !important;
}

/* File Item in Upload */
.file-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.file-icon {
    font-size: 24px;
}

.file-info {
    flex: 1;
}

.file-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    color: white;
}

.file-size {
    font-size: 12px;
    color: #a0a0a0;
}

.file-progress {
    flex: 1;
}

.file-progress-bar {
    background: rgba(255, 255, 255, 0.1);
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 4px;
}

.file-progress-fill {
    background: #4a90e2;
    height: 100%;
    transition: width 0.3s;
}

.file-progress-text {
    font-size: 11px;
    color: #a0a0a0;
}

/* Extracted Data Display */
.extracted-data {
    margin-top: 24px;
}

.extracted-header {
    margin-bottom: 20px;
}

.extracted-header h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #28a745;
}

.file-name-info {
    font-size: 13px;
    color: #a0a0a0;
}

.data-content {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
    max-height: 400px;
    overflow-y: auto;
}

.json-display {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    line-height: 1.6;
    color: #e0e0e0;
    margin: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.data-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.data-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.3s;
}

.data-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.data-actions .btn-primary {
    background: #4a90e2;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.3s;
}

.data-actions .btn-primary:hover {
    background: #357abd;
}

/* Password Alert Error State */
.password-alert.error {
    background: rgba(239, 68, 68, 0.2) !important;
    border-color: rgba(239, 68, 68, 0.3) !important;
    color: #ef4444 !important;
}

/* Task Type Badges */
.task-type-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

/* New Process Stage Badges */
.task-type-badge.nuevos {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.task-type-badge.contacto {
    background: rgba(74, 144, 226, 0.2);
    color: #4a90e2;
}

.task-type-badge.videollamada {
    background: rgba(156, 39, 176, 0.2);
    color: #ce93d8;
}

.task-type-badge.presencial {
    background: rgba(255, 140, 66, 0.2);
    color: #ff8c42;
}

.task-type-badge.prueba-tech {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

/* Legacy task type badges (for backwards compatibility) */
.task-type-badge.entrevista {
    background: rgba(74, 144, 226, 0.2);
    color: #4a90e2;
}

.task-type-badge.prueba {
    background: rgba(156, 39, 176, 0.2);
    color: #ce93d8;
}

.task-type-badge.documento {
    background: rgba(255, 140, 66, 0.2);
    color: #ff8c42;
}

/* Score Badge */
.score-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 80px;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

.score-badge.match-perfecto {
    background: rgba(59, 130, 246, 0.15);
    color: #2563eb;
}

.score-badge.prometedor {
    background: rgba(34, 197, 94, 0.15);
    color: #16a34a;
}

.score-badge.diamante {
    background: rgba(234, 179, 8, 0.15);
    color: #ca8a04;
}

.score-badge.red-flags {
    background: rgba(239, 68, 68, 0.15);
    color: #dc2626;
}

/* Score Badge Compact */
.score-badge-compact {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.score-badge-compact.match-perfecto {
    background: rgba(59, 130, 246, 0.15);
    color: #2563eb;
}

.score-badge-compact.prometedor {
    background: rgba(34, 197, 94, 0.15);
    color: #16a34a;
}

.score-badge-compact.diamante {
    background: rgba(234, 179, 8, 0.15);
    color: #ca8a04;
}

.score-badge-compact.red-flags {
    background: rgba(239, 68, 68, 0.15);
    color: #dc2626;
}

/* Days Text (no background) */
.days-text {
    font-size: 12px;
    font-weight: 500;
}

.days-text-today {
    color: #2563eb;
}

.days-text-fresh {
    color: #16a34a;
}

.days-text-attention {
    color: #ca8a04;
}

.days-text-urgent {
    color: #dc2626;
}

/* Action Buttons */
.action-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.action-btn.whatsapp {
    background: rgba(37, 211, 102, 0.1);
    color: #25d366;
    width: auto;
    padding: 8px 12px;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
}

.action-btn.whatsapp:hover {
    background: #25d366;
    color: white;
}

/* Stage Separator Rows */
.stage-separator {
    border: none !important;
}

.stage-separator td {
    border: none !important;
}

.stage-separator:hover {
    background: inherit !important;
}

/* Status Badge (legacy) */
.status-badge {
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.status-badge.in-progress {
    background: rgba(74, 144, 226, 0.2);
    color: #4a90e2;
}

.status-badge.done {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
}

/* Progress Circle */
.progress-circle {
    position: relative;
    width: 50px;
    height: 50px;
}

.progress-circle svg {
    transform: rotate(-90deg);
}

.progress-circle-bg {
    fill: none;
    stroke: rgba(0, 0, 0, 0.1);
    stroke-width: 4;
}

.progress-circle-fill {
    fill: none;
    stroke: #4a90e2;
    stroke-width: 4;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.3s;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    font-weight: 600;
    color: #333;
}

/* Task Table Row Styles */
.task-name {
    font-weight: 600;
    margin-bottom: 4px;
    color: #333;
}

.task-description {
    font-size: 12px;
    color: #666;
}

.task-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Favorite Button */
#favoriteBtn {
    transition: all 0.2s ease;
}

#favoriteBtn:hover {
    transform: scale(1.05);
}

#favoriteIcon {
    transition: all 0.2s ease;
}

#favoriteBtn.bg-yellow-500\/20 #favoriteIcon {
    color: #fbbf24;
}

/* Days in Stage Badges */
.days-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.days-today {
    background: rgba(59, 130, 246, 0.15);
    color: #2563eb;
}

.days-fresh {
    background: rgba(34, 197, 94, 0.15);
    color: #16a34a;
}

.days-attention {
    background: rgba(234, 179, 8, 0.15);
    color: #ca8a04;
}

.days-urgent {
    background: rgba(239, 68, 68, 0.15);
    color: #dc2626;
    animation: pulse-urgent 2s infinite;
}

@keyframes pulse-urgent {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Score Icon */
.score-icon {
    font-size: 14px;
}

/* Candidates Table Row Spacing */
#tasksTableBody tr {
    border-bottom: 1px solid #e5e7eb;
}

#tasksTableBody tr:nth-child(even) {
    background: #fafafa;
}

#tasksTableBody tr:nth-child(odd) {
    background: #ffffff;
}

#tasksTableBody tr:hover {
    background: #f3f4f6 !important;
}

#tasksTableBody tr td {
    padding-top: 16px;
    padding-bottom: 16px;
}

/* Table Header Styling */
table thead tr {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

table thead th {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 16px;
}

/* ============================================
   CANDIDATE DETAIL MODAL (FIFA Card Style)
   ============================================ */

/* Backdrop */
.candidate-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 999;
}

/* Container */
.candidate-modal-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(20px);
    width: 900px;
    max-width: 90vw;
    height: 85vh;
    max-height: 85vh;
    background: #1a1a1a;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transition: all 0.2s ease-out;
}

#candidateModal.active .candidate-modal-container {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0);
}

/* Header - Dark and Clean */
.candidate-modal-header {
    position: relative;
    padding: 32px 24px;
    min-height: 200px;
    background: #1a1a1a;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Badges Container */
.candidate-modal-badges {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 24px;
    display: flex;
    gap: 12px;
}

/* Score Badge */
.candidate-modal-score-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    background: #2a2a2a;
    padding: 12px 18px;
    border-radius: 8px;
}

/* Tenure Badge */
.candidate-modal-tenure-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    background: #2a2a2a;
    padding: 12px 18px;
    border-radius: 8px;
}

.candidate-modal-tenure-badge .candidate-modal-tenure-label {
    font-size: 11px;
    font-weight: 500;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.candidate-modal-tenure-badge .candidate-modal-tenure-number {
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
    color: #10b981;
}

.candidate-modal-score-badge .candidate-modal-score-label {
    font-size: 11px;
    font-weight: 500;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.candidate-modal-score-badge .candidate-modal-score-number {
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, #a855f7 0%, #6366f1 50%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Left-aligned Content */
.candidate-modal-info {
    display: flex;
    align-items: center;
    gap: 20px;
    align-self: flex-start;
    margin-left: 24px;
}

/* Avatar - Left aligned */
.candidate-modal-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 700;
    color: #374151;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

.candidate-modal-avatar .avatar-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Details container */
.candidate-modal-details {
    display: flex;
    flex-direction: column;
}

/* First Name */
.candidate-modal-name {
    font-size: 24px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    margin: 0;
}

/* Last Name */
.candidate-modal-lastname {
    font-size: 20px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #d1d5db;
    margin: 2px 0 0 0;
}

/* Subtitle (job title) */
.candidate-modal-subtitle {
    font-size: 14px;
    font-weight: 400;
    color: #9ca3af;
    margin: 8px 0 0 0;
}

/* Stats Bar */
.candidate-modal-stats-bar {
    display: flex;
    align-items: center;
    background: #2a2a2a;
    padding: 24px 0;
    border-top: 1px solid #404040;
    border-bottom: 1px solid #404040;
}

.candidate-stat-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 12px 0;
    border-right: 1px solid #404040;
}

.candidate-stat-box:last-child {
    border-right: none;
}

.candidate-stat-number {
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
}

.candidate-stat-label {
    font-size: 11px;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Stat number color classes */
.candidate-stat-number.score-green {
    color: #22c55e;
}

.candidate-stat-number.score-yellow {
    color: #eab308;
}

.candidate-stat-number.score-orange {
    color: #f97316;
}

.candidate-stat-number.score-red {
    color: #ef4444;
}

/* Body */
.candidate-modal-body {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
    background: #fafafa;
}

/* Modal Sections */
.modal-section {
    margin-bottom: 32px;
}

.modal-section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 16px;
}

.section-text {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.7;
}

/* Contact Info Section */
.contact-info {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e5e7eb;
}

.contact-items {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-icon {
    font-size: 14px;
}

.contact-text {
    font-size: 14px;
    color: #4b5563;
}

.contact-link {
    color: inherit;
    text-decoration: underline;
}

.contact-link:hover {
    opacity: 0.7;
}

/* Skills Section */
.skills-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.skill-category {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.skill-category-label {
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    min-width: 80px;
    padding-top: 4px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    background: #e5e7eb;
    color: #374151;
    font-size: 13px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 16px;
}

/* Experience Section */
.experience-timeline {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.experience-item {
    position: relative;
    padding-left: 20px;
    border-left: 2px solid #e5e7eb;
}

.experience-item::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 6px;
    width: 8px;
    height: 8px;
    background: #6b7280;
    border-radius: 50%;
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 4px;
}

.experience-company {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
}

.experience-dates {
    font-size: 13px;
    color: #9ca3af;
}

.experience-position {
    font-size: 14px;
    color: #6b7280;
    display: block;
    margin-bottom: 8px;
}

.experience-bullets {
    margin: 0;
    padding-left: 16px;
    list-style-type: disc;
}

.experience-bullets li {
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 4px;
    line-height: 1.5;
}

.experience-bullets li:last-child {
    margin-bottom: 0;
}

/* Match Analysis Section */
.match-analysis {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.match-category {
    padding: 16px;
    border-radius: 8px;
}

.match-strengths {
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.match-opportunities {
    background: rgba(234, 179, 8, 0.08);
    border: 1px solid rgba(234, 179, 8, 0.2);
}

.match-redflags {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.match-category-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 12px 0;
}

.match-strengths .match-category-title {
    color: #16a34a;
}

.match-opportunities .match-category-title {
    color: #ca8a04;
}

.match-redflags .match-category-title {
    color: #dc2626;
}

.match-list {
    margin: 0;
    padding-left: 20px;
    list-style-type: disc;
}

.match-list li {
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 6px;
    line-height: 1.5;
}

.match-list li:last-child {
    margin-bottom: 0;
}

/* Education Section */
.education-container {
    margin-bottom: 16px;
}

.education-item {
    margin-bottom: 12px;
}

.education-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 2px;
}

.education-degree {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
}

.education-year {
    font-size: 13px;
    color: #9ca3af;
}

.education-institution {
    font-size: 14px;
    color: #6b7280;
}

.certifications-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.certification-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #f59e0b;
    color: #92400e;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
}

.cert-icon {
    font-size: 14px;
}

/* Suggested Questions Section */
.suggested-questions-section {
    background: #f0f9ff;
    border: 1px solid #e0f2fe;
    border-radius: 8px;
    padding: 20px;
}

.suggested-questions-section .section-title {
    margin-bottom: 4px;
}

.suggested-questions-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 16px 0;
}

.suggested-questions-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.suggested-question {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.question-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    min-width: 24px;
    background: #0ea5e9;
    color: white;
    font-size: 12px;
    font-weight: 600;
    border-radius: 50%;
}

.question-text {
    font-size: 15px;
    color: #374151;
    line-height: 1.5;
    padding-top: 2px;
    flex: 1;
}

.whatsapp-question-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    transition: all 0.2s ease;
    text-decoration: none;
    margin-top: -2px;
}

.whatsapp-question-btn:hover {
    background: #128C7E;
    transform: scale(1.1);
}

.whatsapp-icon {
    width: 18px;
    height: 18px;
}

/* Notes Section */
.notes-textarea {
    width: 100%;
    min-height: 120px;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    color: #374151;
    background: #ffffff;
    resize: vertical;
    font-family: inherit;
    line-height: 1.6;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.notes-textarea:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.notes-textarea::placeholder {
    color: #9ca3af;
}

.btn-save-notes {
    margin-top: 12px;
    padding: 10px 20px;
    background: #4a90e2;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-save-notes:hover {
    background: #3a7bc8;
}

.btn-save-notes.saved {
    background: #22c55e;
}

/* Modal Footer */
.candidate-modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 32px;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.footer-left,
.footer-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.footer-btn-link {
    background: transparent;
    color: #6b7280;
    padding: 10px 16px;
}

.footer-btn-link:hover {
    color: #374151;
    background: #e5e7eb;
}

.footer-btn-reject {
    background: #dc2626;
    color: white;
    border: none;
    min-width: 200px;
    justify-content: center;
}

.footer-btn-reject:hover {
    background: #b91c1c;
}

.footer-btn-discard {
    background: #eab308;
    color: #1a1a1a;
    border: none;
    min-width: 200px;
    justify-content: center;
}

.footer-btn-discard:hover {
    background: #ca8a04;
}

.footer-btn-advance {
    background: #22c55e;
    color: white;
    min-width: 200px;
    justify-content: center;
}

.footer-btn-advance:hover {
    background: #16a34a;
}

.footer-btn-cancel {
    background: #6b7280;
    color: white;
    border: none;
    min-width: 120px;
    justify-content: center;
}

.footer-btn-cancel:hover {
    background: #4b5563;
}

.footer-btn-update {
    background: #4a90e2;
    color: white;
    border: none;
    min-width: 200px;
    justify-content: center;
}

.footer-btn-update:hover {
    background: #3a7bc8;
}

.footer-right.hidden {
    display: none;
}

/* Body scroll lock when modal is open */
body.modal-open {
    overflow: hidden;
}

/* ============ CV Processing Mode ============ */

/* Modal expands when processing */
#uploadCvModal > div.processing-mode {
    max-width: 600px;
    width: 95%;
    padding: 48px;
    transition: all 0.4s ease;
}

/* Processing view container */
.processing-view {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px 0;
}

/* Circular loader */
.processing-loader {
    margin-bottom: 32px;
}

.loader-spinner {
    width: 80px;
    height: 80px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: #4a90e2;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Big processing message */
.processing-message {
    font-size: 22px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 32px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInOut 2.5s ease-in-out;
    line-height: 1.4;
    padding: 0 20px;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* File info at the bottom */
.processing-file-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #9ca3af;
    font-size: 14px;
    margin-bottom: 24px;
}

.processing-file-icon {
    font-size: 16px;
}

.processing-file-name {
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Progress bar in processing mode */
.processing-progress-container {
    width: 100%;
    max-width: 400px;
}

.processing-progress-container .file-progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.processing-progress-container .file-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4a90e2, #7c3aed);
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* ============ Duplicate CV Error ============ */

.duplicate-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.duplicate-icon {
    font-size: 48px;
    margin-bottom: 8px;
}

.duplicate-text {
    font-size: 18px;
    color: #f59e0b;
    font-weight: 500;
}

.duplicate-name {
    font-size: 20px;
    color: #ffffff;
    font-weight: 600;
}

.duplicate-hint {
    font-size: 14px;
    color: #9ca3af;
    max-width: 350px;
    line-height: 1.5;
}

.duplicate-close-btn {
    margin-top: 16px;
    padding: 12px 32px;
    background: #4a90e2;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.duplicate-close-btn:hover {
    background: #3b7dd0;
}

/* ============ Success Message ============ */

.success-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.success-icon {
    font-size: 56px;
    margin-bottom: 8px;
}

.success-name {
    font-size: 22px;
    color: #ffffff;
    font-weight: 600;
}

.success-file-link {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.success-file-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #4a90e2;
}

.success-file-icon {
    font-size: 18px;
}

.success-file-name {
    font-size: 14px;
    color: #4a90e2;
    font-weight: 500;
    max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.success-file-link:hover .success-file-name {
    text-decoration: underline;
}

.success-text {
    font-size: 16px;
    color: #9ca3af;
    margin-bottom: 16px;
}

.success-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 8px;
}

.success-score {
    font-size: 42px;
    font-weight: 700;
}

.success-score span {
    font-size: 18px;
    font-weight: 400;
    opacity: 0.6;
}

.success-score.score-green {
    color: #22c55e;
}

.success-score.score-yellow {
    color: #eab308;
}

.success-score.score-orange {
    color: #f97316;
}

.success-score.score-red {
    color: #ef4444;
}

.success-category {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 20px;
    border-radius: 8px;
}

.success-buttons {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.success-close-btn {
    padding: 14px 40px;
    background: #22c55e;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.success-close-btn:hover {
    background: #16a34a;
}

.success-discard-btn {
    padding: 14px 32px;
    background: #eab308;
    color: #1a1a1a;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.success-discard-btn:hover {
    background: #ca8a04;
}

/* Red Flags in Success Message */
.success-redflags {
    width: 100%;
    max-width: 400px;
    margin-top: 16px;
    padding: 16px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    text-align: left;
}

.success-redflags-title {
    font-size: 14px;
    font-weight: 600;
    color: #ef4444;
    margin-bottom: 12px;
}

.success-redflags-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.success-redflags-list li {
    font-size: 13px;
    color: #fca5a5;
    line-height: 1.4;
}

/* ============ Batch CV Processing ============ */

.batch-processing-view {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 20px 0;
}

.batch-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.batch-title {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
}

.batch-progress-text {
    font-size: 16px;
    color: #9ca3af;
    font-weight: 500;
}

.batch-files-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 300px;
    overflow-y: auto;
}

.batch-file-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.batch-file-item.processing {
    background: rgba(74, 144, 226, 0.1);
    border-color: rgba(74, 144, 226, 0.3);
}

.batch-file-item.success {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
}

.batch-file-item.duplicate {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
}

.batch-file-item.error {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
}

.batch-file-icon {
    font-size: 24px;
}

.batch-file-info {
    flex: 1;
    min-width: 0;
}

.batch-file-name {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.batch-file-status {
    display: flex;
    align-items: center;
    gap: 6px;
}

.batch-status-icon {
    font-size: 14px;
}

.batch-file-item.processing .batch-status-icon {
    animation: spin 1s linear infinite;
}

.batch-status-text {
    font-size: 12px;
    color: #9ca3af;
}

.batch-file-item.success .batch-status-text {
    color: #22c55e;
}

.batch-file-item.duplicate .batch-status-text {
    color: #f59e0b;
}

.batch-file-item.error .batch-status-text {
    color: #ef4444;
}

/* Batch Success Extended View */
.batch-file-item.discarded {
    background: rgba(107, 114, 128, 0.2);
    border-color: rgba(107, 114, 128, 0.3);
    opacity: 0.7;
}

.batch-file-info-extended {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.batch-file-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.batch-file-metrics {
    display: flex;
    gap: 16px;
}

.batch-metric {
    font-size: 13px;
    color: #9ca3af;
}

.batch-metric strong {
    color: #ffffff;
    font-weight: 700;
}

.batch-metric.score strong {
    color: #22c55e;
}

.batch-metric.tenure strong {
    color: #10b981;
}

.batch-redflags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.batch-redflag-item {
    font-size: 11px;
    color: #fca5a5;
    background: rgba(239, 68, 68, 0.15);
    padding: 4px 8px;
    border-radius: 4px;
    line-height: 1.3;
}

.batch-file-actions {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.batch-action-btn {
    padding: 6px 16px;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.batch-view-btn {
    background: #4a90e2;
    color: white;
}

.batch-view-btn:hover {
    background: #3a7bc8;
}

.batch-discard-btn {
    background: #eab308;
    color: #1a1a1a;
}

.batch-discard-btn:hover {
    background: #ca8a04;
}

/* Hold-to-discard button */
.batch-hold-btn {
    position: relative;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
}

.batch-hold-btn .hold-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: rgba(220, 38, 38, 0.8);
    transition: none;
    z-index: 0;
}

.batch-hold-btn .hold-text {
    position: relative;
    z-index: 1;
}

.batch-hold-btn.holding {
    cursor: progress;
}

.batch-hold-btn.holding .hold-text {
    color: white;
}

.batch-discarded-indicator {
    font-size: 13px;
    color: #9ca3af;
    font-weight: 500;
    padding: 6px 0;
}

.batch-message {
    font-size: 14px;
    color: #9ca3af;
    text-align: center;
    font-style: italic;
    min-height: 20px;
}

/* Batch Summary */
.batch-summary {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding: 20px 0;
}

.batch-summary-icon {
    font-size: 56px;
}

.batch-summary-title {
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
}

.batch-summary-stats {
    display: flex;
    gap: 24px;
    margin-top: 8px;
}

.batch-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    font-weight: 500;
}

.batch-stat .stat-count {
    font-weight: 700;
    font-size: 20px;
}

.batch-stat.success {
    color: #22c55e;
}

.batch-stat.duplicate {
    color: #f59e0b;
}

.batch-stat.error {
    color: #ef4444;
}

.batch-close-btn {
    margin-top: 16px;
    padding: 14px 40px;
    background: #22c55e;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.batch-close-btn:hover {
    background: #16a34a;
}

/* Batch Error Details */
.batch-error-details {
    width: 100%;
    max-width: 400px;
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.batch-error-item {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    padding: 12px 16px;
    text-align: left;
}

.batch-error-file {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #fca5a5;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.batch-error-message {
    display: block;
    font-size: 12px;
    color: #f87171;
    line-height: 1.4;
    word-break: break-word;
}

/* ============ NiaNi AI Modal ============ */

.niani-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
}

.niani-modal-content {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 100px rgba(204, 0, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.niani-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: linear-gradient(135deg, #ff00ff 0%, #cc00ff 50%, #9933ff 100%);
}

.niani-header-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.niani-logo {
    font-size: 24px;
    font-weight: 800;
    color: white;
    letter-spacing: 0.5px;
}

.niani-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.niani-close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    line-height: 1;
}

.niani-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.niani-chat-area {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.niani-welcome {
    text-align: center;
    padding: 20px 0;
}

.niani-welcome-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.niani-welcome h3 {
    font-size: 22px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.niani-welcome p {
    font-size: 14px;
    color: #9ca3af;
    line-height: 1.5;
    max-width: 400px;
    margin: 0 auto;
}

.niani-suggestions {
    margin-top: 8px;
}

.niani-suggestions-title {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 12px;
    font-weight: 500;
}

.niani-suggestions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.niani-suggestion-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e5e7eb;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13px;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s;
    line-height: 1.4;
}

.niani-suggestion-btn:hover {
    background: rgba(204, 0, 255, 0.15);
    border-color: rgba(204, 0, 255, 0.4);
    color: white;
    transform: translateY(-2px);
}

.niani-messages {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 400px;
}

.niani-message {
    display: flex;
    gap: 12px;
    animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.niani-message.user {
    flex-direction: row-reverse;
}

.niani-message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.niani-message.assistant .niani-message-avatar {
    background: linear-gradient(135deg, #ff00ff 0%, #9933ff 100%);
}

.niani-message.user .niani-message-avatar {
    background: #4a90e2;
}

.niani-message-content {
    background: rgba(255, 255, 255, 0.08);
    padding: 12px 16px;
    border-radius: 16px;
    max-width: 80%;
    font-size: 14px;
    line-height: 1.6;
    color: #e5e7eb;
}

.niani-message.user .niani-message-content {
    background: rgba(74, 144, 226, 0.2);
    border-radius: 16px 16px 4px 16px;
}

.niani-message.assistant .niani-message-content {
    border-radius: 16px 16px 16px 4px;
}

.niani-message-content p {
    margin: 0 0 8px 0;
}

.niani-message-content p:last-child {
    margin-bottom: 0;
}

.niani-message-content ul,
.niani-message-content ol {
    margin: 8px 0;
    padding-left: 20px;
}

.niani-message-content li {
    margin-bottom: 4px;
}

.niani-message-content strong {
    color: white;
}

.niani-typing {
    display: flex;
    gap: 4px;
    padding: 8px 0;
}

.niani-typing span {
    width: 8px;
    height: 8px;
    background: #cc00ff;
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.niani-typing span:nth-child(2) {
    animation-delay: 0.2s;
}

.niani-typing span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    30% {
        transform: translateY(-8px);
        opacity: 1;
    }
}

.niani-input-area {
    display: flex;
    gap: 12px;
    padding: 20px 24px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.niani-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 14px;
    outline: none;
    transition: all 0.2s;
}

.niani-input::placeholder {
    color: #6b7280;
}

.niani-input:focus {
    border-color: rgba(204, 0, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(204, 0, 255, 0.1);
}

.niani-send-btn {
    background: linear-gradient(135deg, #ff00ff 0%, #cc00ff 50%, #9933ff 100%);
    border: none;
    color: white;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.niani-send-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(204, 0, 255, 0.4);
}

.niani-send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Contact Messages Section */
.contact-messages-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-message-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.2s;
}

.contact-message-item:hover {
    background: #f1f3f5;
    border-color: #25D366;
}

.contact-message-text {
    flex: 1;
    font-size: 13px;
    color: #495057;
    line-height: 1.5;
    white-space: pre-line;
}

.contact-message-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #25D366;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.contact-message-btn:hover {
    background: #128C7E;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.contact-message-btn:active {
    transform: translateY(0);
}

.contact-message-icon {
    font-size: 16px;
}
