/* Стили для модального окна шаринга тестов */
.quiz-share-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quiz-share-modal-overlay.visible {
    opacity: 1;
}

.quiz-share-modal {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 25px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: modalAppear 0.3s ease-out;
}

.quiz-share-modal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.quiz-share-modal .modal-header h2 {
    color: white;
    font-size: 22px;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.quiz-share-modal .modal-header .close-btn {
    background: transparent;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.quiz-share-modal .modal-header .close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.quiz-share-modal .modal-body {
    max-height: 60vh;
    overflow-y: auto;
}

.quiz-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quiz-share-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.quiz-share-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.quiz-share-item .quiz-title {
    color: white;
    font-size: 16px;
    font-weight: 500;
    flex: 1;
}

.quiz-share-item .share-btn {
    background: linear-gradient(
        135deg,
        rgba(243, 194, 17, 0.377) 0%,
        rgba(240, 193, 25, 0.295) 50%,
        rgba(243, 196, 24, 0.377) 100%
    );
    backdrop-filter: blur(15px);
    border: 1px solid rgba(245, 216, 110, 0.3);
    border-radius: 12px;
    color: white;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quiz-share-item .share-btn:hover {
    transform: scale(1.05);
    background: linear-gradient(
        135deg,
        rgba(245, 213, 99, 0.45) 0%,
        rgba(248, 213, 87, 0.32) 50%,
        rgba(245, 212, 92, 0.45) 100%
    );
    box-shadow: 0 4px 12px rgba(245, 216, 110, 0.3);
}

