/* Стили для админ-кнопки и модального окна */
#admin-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.3s ease;
}

#admin-button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

.admin-icon {
    font-size: 20px;
    font-weight: bold;
}

#admin-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1001;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    padding: 25px;
    border-radius: 12px;
    width: 320px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    text-align: center;
}

.modal-content h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-family: 'Rubik', sans-serif;
    color: #333;
    font-weight: 500;
}

#password-input {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box;
    font-family: 'Rubik', sans-serif;
    font-size: 16px;
    transition: border-color 0.3s;
}

#password-input:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
}

#submit-password {
    width: 100%;
    padding: 12px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    font-size: 16px;
    transition: background-color 0.3s;
}

#submit-password:hover {
    background-color: #0069d9;
}

#error-message {
    color: #dc3545;
    margin-top: 15px;
    font-size: 14px;
    display: none;
}

#attempts-counter {
    margin-top: 10px;
    font-size: 13px;
    color: #6c757d;
    display: none;
}