/* ========================================
   ACCESSIBILITY STYLES
   ======================================== */

/* Skip link - visible only on keyboard focus */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #2196F3;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 0 0 4px 0;
    z-index: 10000;
    font-weight: bold;
    font-size: 14px;
}

.skip-link:focus {
    top: 0;
}

/* Visually hidden but accessible to screen readers */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Enhanced focus visibility for keyboard navigation */
*:focus-visible {
    outline: 3px solid #2196F3;
    outline-offset: 2px;
}

*:focus:not(:focus-visible) {
    outline: none;
}

button:focus-visible,
a:focus-visible {
    outline: 3px solid #2196F3;
    outline-offset: 2px;
}

/* ========================================
   EXISTING STYLES BELOW
   ======================================== */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f5f5f5;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    text-decoration: none;
    color: inherit;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 40px;
    line-height: 1;
}

.logo-text-line {
    font-size: 20px;
}

.logo-text-line:first-child {
    font-size: 15px;
    letter-spacing: 3.8px;
}

.logo-text-line:last-child {
    letter-spacing: 5px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #007bff, #0056b3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.left-group {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Navbar */
.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

	.nav-link {
    	    text-decoration: none;
    color: #333;
    	    font-size: 16px;
    font-weight: 700;
    padding: 8px 16px;
    transition: color 0.3s ease;
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	}

.nav-link:hover {
    color: #007bff;
}

.nav-link.active {
    color: #007bff;
    font-weight: 700;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: #007bff;
}

.auth-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* Loading state - nasconde auth durante validazione token */
.auth-loading-state .auth-buttons,
.auth-loading-state .user-menu {
    visibility: hidden;
    opacity: 0;
}

.btn-login {
    background: none;
    border: none;
    color: #333;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    padding: 8px 16px;
    transition: color 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.btn-login:hover {
    color: #0056b3;
}

.btn-signup {
    background: #007bff;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-weight: 700;
    line-height: 1.35;
}

.btn-signup:hover {
    background: #0056b3;
}

/* ===== POLICY POPUP STYLES ===== */
.policy-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    animation: fadeIn 0.3s ease-in-out;
}

.policy-overlay.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.policy-modal {
    background: white;
    border-radius: 8px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.policy-modal h2 {
    color: #333;
    font-size: 22px;
    margin-bottom: 20px;
    font-weight: 600;
}

.policy-modal p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.policy-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.policy-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

.policy-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.policy-btn-accept {
    background: #007bff;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.policy-btn-accept:hover {
    background: #0056b3;
}

.policy-btn-decline {
    background: #6c757d;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.policy-btn-decline:hover {
    background: #5a6268;
}

.policy-warning {
    display: none;
    margin-top: 20px;
    padding: 15px;
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 6px;
    color: #856404;
    font-size: 14px;
    font-weight: 500;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (max-width: 600px) {
    .policy-modal {
        padding: 25px 20px;
    }

    .policy-modal h2 {
        font-size: 20px;
    }

    .policy-modal p {
        font-size: 15px;
    }

    .policy-buttons {
        flex-direction: column;
    }

    .policy-btn-accept,
    .policy-btn-decline {
        width: 100%;
    }
}
/* ===== END POLICY POPUP STYLES ===== */

/* User Menu (quando autenticato) */
.user-menu {
    position: relative;
    display: none;
}

.user-initials-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #007bff;
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
}

.user-initials-icon:hover {
    background: #0056b3;
}

/* Main Content */
.main-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.subtitle {
    color: #666;
    font-size: 18px;
    margin-bottom: 10px;
}

.title {
    font-size: 42px;
    font-weight: bold;
    color: #333;
    margin-bottom: 60px;
}

/* Chat Container */
.chat-container {
    background: white;
    border: 2px dashed #ddd;
    border-radius: 12px;
    padding: 30px 40px 120px 40px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    height: 330px;
    position: relative;
}

/* Messages Area */
.messages-area {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: hidden;
    overflow-x: hidden;
    margin-bottom: 0;
    padding: 10px;
    transition: padding-top 0.3s ease;
}

.messages-area.has-pinned-file {
    padding-top: 70px;
}

.messages-area.has-messages {
    overflow-y: auto;
}

.message {
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 8px;
    max-width: 80%;
}

.message.user {
    background: #e3f2fd;
    margin-left: auto;
    text-align: right;
}

.message.assistant {
    background: #f5f5f5;
    margin-right: auto;
    text-align: left;
}

.message-text {
    color: #333;
    font-size: 15px;
    line-height: 1.5;
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: auto;
    max-height: none;
    overflow: visible;
    color: #999;
    text-align: center;
    padding: 0px 40px 40px 40px;
}

.empty-state-icon {
    width: 60px;
    height: 60px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
    color: #666;
    flex-shrink: 0;
}

.empty-state-text {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.empty-state-subtext {
    font-size: 14px;
    color: #bbb;
}

/* Input Container */
.input-container {
    position: absolute;
    left: 40px;
    right: 40px;
    bottom: 48px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    background: white;
    transition: all 0.3s ease;
    z-index: 10;
    box-sizing: border-box;
    overflow: hidden;
}

.input-container:focus-within {
    border-color: #007bff;
    outline: 2px solid rgba(0, 123, 255, 0.2);
	    outline-offset: 0px;
}

/* Textarea */
.chat-textarea {
    width: 100%;
    min-height: 60px;
    max-height: 200px;
    padding: 20px 60px 20px 56px;
    border: none;
    outline: none;
    resize: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    overflow-y: auto;
    background: transparent;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

.chat-textarea::placeholder {
    color: #999;
}

/* Buttons Container */
.input-buttons {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
    align-items: center;
    z-index: 1;
}

/* Upload Button (+) */
.upload-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    color: #666;
    transition: all 0.2s ease;
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 1;
}

.upload-btn:hover {
    background: #007bff;
    color: white;
    transform: scale(1.05);
}

.upload-btn:active {
    transform: scale(0.95);
}

/* Send Button (freccia) */
.send-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.2s ease;
}

.send-btn:hover:not(:disabled) {
    background: #007bff;
    border-color: #007bff;
    color: white;
    transform: scale(1.05);
}

.send-btn:active:not(:disabled) {
    transform: scale(0.95);
}

.send-btn:disabled {
    background: transparent;
    border-color: #ccc;
    color: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Hidden file input */
#pdfFileInput {
    display: none;
}

/* PDF Upload Status */
.pdf-status {
    padding: 10px 16px;
    margin-bottom: 10px;
    background: #ffffff;
    border: 1px solid rgba(0, 123, 255, 0.12);
    border-radius: 10px;
    display: none;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #333;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.10);
    box-sizing: border-box;
    width: 100%;
}

.pdf-status.active {
    display: flex;
}

.pdf-status.pinned-to-chat {
    position: absolute;
    top: 10px;
    left: 40px;
    right: 40px;
    margin-bottom: 0;
    z-index: 5;
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pdf-status-icon {
    font-size: 18px;
}

.pdf-status-text {
    flex: 1;
}

.pdf-remove-btn {
    background: #e74c3c;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.pdf-remove-btn:hover {
    background: #e74c3c;
    opacity: 0.85;
}

/* Questions Counter */
.questions-counter {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    text-align: center;
    color: #666;
    font-size: 13px;
}

.questions-counter.warning {
    color: #ff9800;
    font-weight: 600;
}

.questions-counter.blocked {
    color: #d32f2f;
    font-weight: 600;
}

/* Footer info */
.info-text {
    text-align: center;
    color: #999;
    font-size: 13px;
    margin-top: 40px;
}

/* ========================================
   ANIMAZIONI
   ======================================== */

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

.message {
    animation: fadeIn 0.3s ease;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.message.assistant .message-text:has(💭) {
    animation: pulse 1.5s infinite;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .container {
        padding: 15px;

	    }

    .pdf-status.pinned-to-chat {
        left: 15px;
        right: 15px;
        top: 8px;
    }

    .header {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
        margin-bottom: 40px;
    }

    .nav-links {
        gap: 30px;
    }

    .auth-buttons {
        width: 100%;
        justify-content: center;
    }

    .subtitle {
        font-size: 16px;
    }

    .title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .chat-container {
        min-height: 400px;
        padding: 15px 15px 110px 15px;
    }
    
    .input-container {
        left: 15px;
        right: 15px;
        bottom: 44px;
    }

    .message {
        max-width: 90%;
        font-size: 14px;
    }

    .chat-textarea {
        font-size: 15px;
        padding: 12px 50px 12px 12px;
    }

    .upload-btn {
        width: 32px;
        height: 32px;
        font-size: 18px;
        left: 8px;
        bottom: 8px;
    }

    .send-btn {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .info-text {
        font-size: 12px;
    }

    .empty-state {
        padding: 12px 20px 40px 20px;
    }

    .message-file {
        width: 100% !important;
        max-width: 100% !important;
        padding: 8px 12px !important;
        font-size: 13px !important;
        margin-bottom: 14px !important;
        background: #ffffff !important;
        border: 1px solid rgba(0, 123, 255, 0.10) !important;
        border-radius: 10px !important;
        box-shadow: 0 3px 10px rgba(0, 123, 255, 0.08) !important;
        color: #333 !important;
        box-sizing: border-box !important;
    }
    
    .empty-state-icon {
        margin: 0 auto 14px;
    }
}

@media (max-width: 480px) {
    .logo-text-line {
        font-size: 16px;
    }

    .logo-text-line:first-child {
        font-size: 12px;
    }

    .title {
        font-size: 28px;
    }

    .nav-links {
        flex-direction: column;
        gap: 15px;
    }

    .message {
        max-width: 95%;
    }
}

/* ========================================
   LOADING STATE
   ======================================== */

.loading-dots {
    display: inline-block;
}

.loading-dots::after {
    content: '...';
    animation: loadingDots 1.5s infinite;
}

@keyframes loadingDots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}

/* ========================================
   SCROLLBAR CUSTOM (per messages area)
   ======================================== */

.messages-area::-webkit-scrollbar {
    width: 8px;
}

.messages-area::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.messages-area::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.messages-area::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

.upload-btn:focus,
.send-btn:focus,
.chat-textarea:focus,
.pdf-remove-btn:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* Messaggio file nella chat */
.message-file {
    background: #ffffff !important;
    border: 1px solid rgba(0, 123, 255, 0.12) !important;
    border-radius: 10px !important;
    padding: 10px 16px !important;
    margin: 0 0 18px 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    font-size: 15px !important;
    color: #333 !important;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.10) !important;
    animation: fadeIn 0.4s ease !important;
    position: relative !important;
    z-index: 1 !important;
    box-sizing: border-box !important;
}

.message-file-icon {
    font-size: 22px !important;
    flex-shrink: 0 !important;
    color: #007bff !important;
}

.message-file-name {
    flex: 1 !important;
    word-break: break-word !important;
    color: #333 !important;
    font-weight: 700 !important;
    font-size: 15px !important;
}
/* ========================================
   UTILITY CLASSES
   ======================================== */

.hidden {
    display: none !important;
}

.fade-in {
    animation: fadeIn 0.3s ease;
}

/* Empty state hidden transition */
.empty-state--hidden {
    opacity: 0;
    height: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   AUTH MODALS STYLES
   ======================================== */

.auth-modal {
    display: none !important;
    position: fixed !important;
    z-index: 3000 !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0,0,0,0.8) !important;
    backdrop-filter: blur(5px);
}

.auth-modal[style*="display: flex"],
.auth-modal[style*="display: block"] {
    display: flex !important;
}

.auth-modal-content {
    background-color: white;
    margin: 8% auto;
    border-radius: 12px;
    width: 90%;
    max-width: 450px;
    position: relative;
    animation: modalFadeIn 0.3s ease;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

#signupModal .auth-modal-content {
    border-radius: 12px;
    overflow: hidden;
}

.auth-modal-header {
    background: #007bff;
    color: white;
    padding: 20px;
    text-align: center;
    position: relative;
    flex-shrink: 0;
    border-radius: 12px 12px 0 0;
}

.auth-modal-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.auth-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.auth-modal-close:hover {
    background: rgba(255,255,255,0.2);
}

.auth-modal-body {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
}

.auth-form-group {
    margin-bottom: 20px;
}

.auth-form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.auth-form-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.auth-form-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

.auth-form-input.error {
    border-color: #dc3545;
}

.auth-submit-btn {
    width: 100%;
    padding: 15px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.auth-submit-btn:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

.auth-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.auth-switch-mode {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 14px;
    color: #666;
}

.auth-switch-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
}

.auth-switch-link:hover {
    text-decoration: underline;
}

.auth-error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    border: 1px solid #f5c6cb;
    font-size: 14px;
    display: none;
}

.auth-success-message {
    background: #d4edda;
    color: #155724;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    border: 1px solid #c3e6cb;
    font-size: 14px;
    display: none;
}

.auth-loading {
    display: none;
    text-align: center;
    padding: 20px;
}

.auth-loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

.password-requirements {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 12px;
    margin-top: 8px;
    font-size: 12px;
}

.password-requirement {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.requirement-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
}

.requirement-icon.valid {
    background: #28a745;
    color: white;
}

.requirement-icon.invalid {
    background: #dc3545;
    color: white;
}

.security-question-info {
    background: #e3f2fd;
    border: 1px solid #bbdefb;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 15px;
    font-size: 14px;
}

.user-menu-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #e6f0ff;
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    padding: 12px 0;
    min-width: 200px;
    z-index: 1000;
    display: none;
    color: #002b5c;
    margin-top: 8px;
}

.user-menu-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 20px;
    width: 12px;
    height: 12px;
    background: #e6f0ff;
    border-radius: 3px;
    transform: rotate(45deg);
    z-index: -1;
}

.user-menu-item {
    display: block;
    width: 100%;
    padding: 12px 20px;
    text-align: left;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 14px;
    color: #002b5c;
    font-family: inherit;
    transition: background-color 0.2s ease;
}

.user-menu-item:hover {
    background: rgba(0,123,255,0.1);
}

.user-menu-item.logout {
    color: #c0392b;
    border-top: 1px solid rgba(0,43,92,0.2);
    margin-top: 8px;
    padding-top: 16px;
}

.user-menu-item.logout:hover {
    background: rgba(192,57,43,0.1);
}

@media (max-width: 768px) {
    .auth-modal-content {
        width: 95%;
        margin: 5% auto;
    }
    
    .auth-modal-body {
        padding: 20px;
    }
    
    .auth-modal-title {
        font-size: 20px;
    }
}

