body {
    font-family: 'Inter', Arial, sans-serif;
    background: linear-gradient(135deg, #181c24 0%, #232946 100%);
    margin: 0;
    padding: 0;
    color: #eaeaea;
    min-height: 100vh;
}

.chat-header {
    display: flex;
    align-items: center;
    background: #232946;
    padding: 24px 0 16px 0;
    justify-content: center;
    box-shadow: 0 2px 16px 0 rgba(0,0,0,0.12);
}

.chat-header .agent-avatar {
    background: #fff;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 18px;
    box-shadow: 0 0 16px #00c6fb55;
    overflow: hidden;
}

.chat-header .agent-avatar img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.chat-header h1 {
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
    color: #eaeaea;
    letter-spacing: 1px;
}

.chat-window {
    max-width: 480px;
    margin: 40px auto 0 auto;
    background: #232946;
    border-radius: 18px;
    box-shadow: 0 8px 32px 0 #00000033;
    padding: 36px 32px 28px 32px;
    position: relative;
}

.chat-bubble {
    background: #1a1a2e;
    color: #00c6fb;
    border-radius: 18px 18px 18px 0;
    padding: 18px 22px;
    margin-bottom: 24px;
    font-size: 1.08rem;
    box-shadow: 0 2px 8px #00c6fb22;
    max-width: 95%;
    position: relative;
}

.chat-bubble:before {
    content: "";
    position: absolute;
    left: 18px;
    bottom: -16px;
    width: 0;
    height: 0;
    border-top: 16px solid #1a1a2e;
    border-right: 16px solid transparent;
}

.chat-form label {
    font-size: 1rem;
    color: #a1a1aa;
    margin-bottom: 6px;
    display: block;
    margin-top: 18px;
}

.chat-form input[type="file"],
.chat-form input[type="email"],
.chat-form select {
    width: 95%;
    padding: 12px;
    margin-top: 6px;
    margin-bottom: 18px;
    border: none;
    border-radius: 8px;
    background: #1a1a2e;
    color: #eaeaea;
    font-size: 1rem;
    outline: none;
    box-shadow: 0 2px 8px #00000011;
    transition: background 0.2s;
}

.chat-form input[type="file"] {
    background: #181c24;
    color: #a1a1aa;
}

.chat-form input[type="file"]::-webkit-file-upload-button {
    background: #00c6fb;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-weight: 600;
    cursor: pointer;
    margin-right: 12px;
    transition: background 0.2s;
}

.chat-form input[type="file"]:hover::-webkit-file-upload-button {
    background: #005bea;
}

.chat-form button {
    width: 100%;
    background: linear-gradient(90deg, #00c6fb 0%, #005bea 100%);
    color: #fff;
    padding: 14px 0;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    box-shadow: 0 2px 8px #00c6fb33;
    transition: background 0.2s, box-shadow 0.2s;
}

.chat-form button:hover {
    background: linear-gradient(90deg, #005bea 0%, #00c6fb 100%);
    box-shadow: 0 4px 16px #00c6fb55;
}

.chat-form button:disabled {
    background: #666;
    cursor: not-allowed;
    box-shadow: none;
}

.disclaimer {
    margin-top: 28px;
    font-size: 0.95em;
    color: #a1a1aa;
    border-top: 1px solid #393e54;
    padding-top: 14px;
}

.disclaimer strong {
    color: #e0e0e0;
}

.legal-links a {
    color: #00c6fb;
    text-decoration: none;
    margin: 0 5px;
}

.legal-links a:hover {
    text-decoration: underline;
}

.legal-content {
    background-color: #ffffff;
    padding: 20px 40px;
    margin: 20px;
    border-radius: 8px;
    color: #333;
    line-height: 1.6;
}

.legal-content h2 {
    color: #1e293b;
    border-bottom: 2px solid #00c6fb;
    padding-bottom: 10px;
    margin-top: 20px;
}

.legal-content a {
    color: #007bff;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #232946;
    margin: 15% auto;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 400px;
    text-align: center;
    color: #eaeaea;
}

.modal-content h3 {
    margin-top: 0;
    color: #00c6fb;
}

.modal-content button {
    background: #00c6fb;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 15px;
}

/* Spinner */
.spinner {
    border: 4px solid #1a1a2e;
    border-top: 4px solid #00c6fb;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* File List Styles */
#file-list li {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
    padding: 8px;
    background: #1a1a2e;
    border-radius: 6px;
}

#file-list li span {
    flex: 1;
    color: #eaeaea;
}

#file-list li button {
    margin-left: 8px;
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-weight: bold;
    font-size: 12px;
}

#file-list li button:hover {
    background: #c0392b;
}

/* Responsive Design */
@media (max-width: 600px) {
    .chat-window { 
        padding: 18px 6vw; 
        margin: 20px auto 0 auto;
    }
    .chat-header h1 { 
        font-size: 1.2rem; 
    }
    .modal-content {
        width: 90%;
        margin: 20% auto;
    }
}

/* Cookie Consent Banner */
#cookieConsent {
    display: none;
}

/* Results Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #2D3748;
    color: #E2E8F0;
    padding: 2rem;
    border-radius: 0.5rem;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.modal-overlay.visible .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #4A5568;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    color: #A0AEC0;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.modal-body {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

#results-table-container table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

#results-table-container th, 
#results-table-container td {
    border: 1px solid #4A5568;
    padding: 0.75rem;
    text-align: left;
    vertical-align: top;
}

#results-table-container th {
    background-color: #4A5568;
    font-weight: 600;
}

.modal-footer {
    border-top: 1px solid #4A5568;
    padding-top: 1rem;
    margin-top: 1rem;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.btn-primary, .btn-secondary {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: #4299E1;
    color: white;
}

.btn-secondary {
    background-color: #718096;
    color: white;
} 