.auth-popup {
    position: fixed;
    inset: 0;
    background-color: #000000b0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    font-weight: bold;
    letter-spacing: 2px;
    font-size: medium;
}

.auth-popup.hidden {
    display: none;
}

.auth-popup-content {
    text-align: center;
    background-color: #111;
    padding: 30px 25px;
    border-radius: 12px;
    width: 450px;
    max-width: 90%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    color: white;
    font-weight: bold;
    border: solid rgb(43, 43, 43) 4px;
    border-radius: 10px;
}

.auth-popup-close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 24px;
    color: red;
    cursor: pointer;
    transition: color 0.2s ease;
    font-size: medium;
}
.auth-popup-close:hover {
    color: rgb(107, 2, 2);
}

.auth-popup-content h2 {
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    color: white;
}

.auth-popup-content form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.auth-popup-content input {
    padding: 10px;
    font-size: 15px;
    border: 2px solid #868686;
    border-radius: 6px;
    background-color: #1c1c1c;
    color: white;
    transition: border-color 0.3s;
    font-family: "Amarna", sans-serif;
}

.auth-popup-content input:focus {
    border-color: #d6d6d6;
    outline: none;
}

.auth-buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
}

.auth-buttons button {
    flex: 1;
    padding: 10px;
    font-size: 14px;
    font-weight: bold;
    background: #315879;
    background: linear-gradient(90deg, rgba(49, 88, 121, 1) 0%, rgba(63, 121, 163, 1) 100%);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px 0px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}


.auth-buttons button:hover {
    background: linear-gradient(135deg, #38658b 0%, #4488b8 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(119, 143, 163, 0.253);
}