	 
        
        /* ====================== МОДАЛЬНЕ ВІКНО ====================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    width: 400px;
    max-width: 92%;
    border-radius: 16px;
    padding: 35px 30px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: #999;
    line-height: 1;
}

.modal-close:hover {
    color: #666;
}

.modal-title {
    text-align: center;
    margin: 0 0 25px 0;
    font-size: 1.7em;
    color: #333;
}

.modal-error {
    color: #e74c3c;
    text-align: center;
    margin-bottom: 15px;
    min-height: 24px;
    font-size: 0.95em;
}

.modal-input {
    width: 100%;
    padding: 14px 16px;
    margin: 8px 0;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 1.05em;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.modal-input:focus {
    border-color: #1877f2;
    box-shadow: 0 0 0 3px rgba(24, 119, 242, 0.1);
    outline: none;
}

.modal-btn {
    width: 100%;
    padding: 15px;
    background: #1877f2;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1em;
    font-weight: 600;
    margin-top: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-btn:hover {
    background: #166fe5;
    transform: translateY(-1px);
}

.modal-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 1.05em;
}

.modal-footer span {
    color: #1877f2;
    cursor: pointer;
    text-decoration: underline;
}

.modal-footer span:hover {
    color: #0d5ed7;
}
       
        
        .card {
            background: white;
            border-radius: 16px;
            padding: 30px;
            margin-bottom: 20px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.1);
        }
        
        
        
        .logout-btn {
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            background: #1877f2;
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 12px;
            font-size: 1em;
            cursor: pointer;
            display: none;
        }
        
        .logout-btn:hover {
            background: #166fe5;
        }
        
        .user-info {
            text-align: center;
            margin-bottom: 20px;
        }
        
        .user-name {
            font-size: 1.5em;
            font-weight: bold;
            color: #333;
        }
        
        .stats {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 15px;
            margin-bottom: 20px;
        }
        
        .stat-box {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 20px;
            border-radius: 12px;
            text-align: center;
        }
        
        .stat-box .number {
            font-size: 2em;
            font-weight: bold;
            margin-bottom: 5px;
        }
        
        .stat-box .label {
            font-size: 0.9em;
            opacity: 0.9;
        }
        
        .question-navigation {
            display: flex;
            align-items: center;
            gap: 20px;
            margin-bottom: 20px;
        }
        
		 .nav-arrow {
		 
			display: flex;
			align-items: center;
			justify-content: center;
			width: 50px;
			height: 50px;
			margin: 0 5px;
			
			background: #667eea;
			color: white !important;  
			border: none;
			border-radius: 50%;
			
			font-size: 1.5em;
			text-decoration: none;
			cursor: pointer;
			transition: all 0.3s ease;
			
		   
			outline: none !important;
			box-shadow: none !important;
			-webkit-tap-highlight-color: transparent;
			-webkit-appearance: none;
		}

		 
		.nav-arrow:hover:not([style*="opacity"]) {
			transform: scale(1.1);
			background: #5a72da;  
			color: white !important;
		}

		 
		.nav-arrow:active, 
		.nav-arrow:focus, 
		.nav-arrow:visited {
			background: #667eea !important;
			color: white !important;
			outline: none !important;
			box-shadow: none !important;
			text-decoration: none;
		}
				
        
        .question-card {
            background: #f8f9fa;
            padding: 25px;
            border-radius: 12px;
            flex: 1;
        }
        
        .question-number {
            display: inline-block;
            background: #667eea;
            color: white;
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 0.9em;
            margin-bottom: 15px;
            font-weight: bold;
        }
        
        .question-text {
            font-size: 1.4em;
            color: #333;
            margin-bottom: 25px;
            line-height: 1.5;
        }
        
        .options {
            display: grid;
            gap: 12px;
        }
        
        .option {
            background: white;
            border: 2px solid #e0e0e0;
            padding: 18px;
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            font-size: 1.1em;
        }
        
        .option:hover:not(.disabled) {
            border-color: #667eea;
            transform: translateX(5px);
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
        }
        
        .option.selected {
            border-color: #667eea;
            background: #f0f4ff;
        }
        
        .option.correct {
            border-color: #10b981;
            background: #d1fae5;
        }
        
        .option.incorrect {
            border-color: #ef4444;
            background: #fee2e2;
        }
        
        .option.disabled {
            cursor: not-allowed;
            opacity: 0.6;
        }
        
        .option-letter {
            width: 40px;
            height: 40px;
            background: #667eea;
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            margin-right: 15px;
            flex-shrink: 0;
        }
        
        .option.correct .option-letter {
            background: #10b981;
        }
        
        .option.incorrect .option-letter {
            background: #ef4444;
        }
        
        .explanation {
            background: #fff3cd;
            border-left: 4px solid #ffc107;
            padding: 20px;
            border-radius: 8px;
            margin-top: 20px;
        }
        
        .explanation h3 {
            color: #856404;
            margin-bottom: 10px;
        }
        
        .explanation p {
            color: #856404;
            line-height: 1.6;
        }
        
        .action-buttons {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }
        
        .submit-btn {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border: none;
            padding: 15px 40px;
            border-radius: 12px;
            font-size: 1.1em;
            font-weight: bold;
            cursor: pointer;
            flex: 1;
            transition: transform 0.2s;
        }
        
        .submit-btn:hover:not(:disabled) {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
        }
        
        .submit-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }
        
        .share-btn, .invite-btn {
            background: #1877f2;
            color: white;
            border: none;
            padding: 15px 30px;
            border-radius: 12px;
            font-size: 1.1em;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: all 0.2s;
        }
        
        .share-btn:hover, .invite-btn:hover {
            background: #166fe5;
            transform: translateY(-2px);
        }
        
        .invite-btn {
            background: #10b981;
        }
        
        .invite-btn:hover {
            background: #059669;
        }
        
        .login-btn {
            background: #1877f2;
            color: white;
            border: none;
            padding: 12px 30px;
            border-radius: 12px;
            font-size: 1em;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            margin: 5px;
        }

        .login-btn:hover {
            background: #166fe5;
        }
        
        .loading {
            text-align: center;
            padding: 40px;
            color: #667eea;
            font-size: 1.2em;
        }
        
        .login-prompt {
            text-align: center;
            padding: 40px;
        }
		
	.other-questions {
    max-width: 900px;
    margin: 30px auto 40px;
}

.other-questions h2 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 1.5em;
}

.other-questions ul {
    list-style: none;
    padding: 0;
    margin: 0;
    line-height: 1.8;
}

.other-question-item {
    margin: 10px 0;
    padding: 14px 18px;
    background: linear-gradient(to right, #fafbfc, #f0f4fa);
    border-radius: 10px;
    transition: all 0.25s ease;
    border: 1px solid #e9ecf4;
}



.other-question-item a {
    
    text-decoration: none;
    
    line-height: 1.45;
}


.other-question-date {
    color: #666;
    font-size: 0.92em;
    margin-left: 14px;
    white-space: nowrap;
}
   