#menu-icon {
    display: none;
    width: 35px;
    height: 35px;
    cursor: pointer;
    z-index: 2100;
}

@media (max-width: 992px) {
    #menu-icon {
        display: block;
    }
}
#mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100%;
    background: rgba(15,15,15,0.97);
    box-shadow: -5px 0 15px rgba(0,255,255,0.3);
    display: flex;
    flex-direction: column;
    padding-top: 5rem;
    gap: 1.5rem;
    padding-left: 1rem;
    transition: right 0.35s ease-in-out;
    z-index: 3000;
    visibility: hidden;
    opacity: 0;
    text-align: center;
}

#mobile-menu.show {
    right: 0;
    visibility: visible;
    opacity: 1;
}

#mobile-menu .mobile-login-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    display: block;
    margin: 0 auto 0.5rem auto;
    cursor: pointer;
}

#mobile-menu .mobile-login-text {
    display: block;
    margin-bottom: 1.5rem;
    color: #00ffff;
    text-decoration: none;
    font-size: 1.1rem;
}

#mobile-menu a.page-link {
    display: block;
    margin: 0.8rem 0;
    color: #00ffff;
    text-decoration: none;
    font-size: 1.15rem;
}

#mobile-menu a.page-link:hover {
    color: #fff;
    text-shadow: 0 0 5px #00ffff;
}

#mobile-menu .logout-btn {
    margin-top: auto;
    margin-bottom: 2rem;
    padding: 0.6rem 1.8rem;
    background: #00ffff;
    color: #000;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#mobile-menu .logout-btn:hover {
    background: #00cccc;
    color: #fff;
    box-shadow: 0 0 10px #00ffff;
}

.response-box {
    width: 100%;
    max-width: 600px;
    margin: 6rem auto 1.5rem auto;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    font-family: Orbitron, sans-serif;
    font-size: 1rem;
    display: none;
    text-align: center;
}

.response-success {
    background: rgba(0, 255, 200, 0.15);
    border: 1px solid #00ffcc;
    color: #00ffcc;
}

.response-error {
    background: rgba(255, 50, 50, 0.15);
    border: 1px solid #ff3b3b;
    color: #ff7070;
}

.scale-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-top: 4rem;
    align-items: center;
}

.login-wrapper {
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.login-form-container {
    position: relative;
    background: linear-gradient(135deg, rgba(0,0,0,0.5), rgba(0,0,0,0.2));
    border: 1px solid rgba(0, 255, 255, 0.4);
    border-radius: 12px;
    padding: 4rem 3rem 3rem 3rem;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 8px 20px rgba(0, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    text-align: center;
    line-height: 1.7;
}

.login-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: linear-gradient(225deg, rgba(255,255,255,0.08), rgba(255,255,255,0));
    pointer-events: none;
}

.login-form-container h2 {
    color: #00ffff;
    margin-bottom: 1.2rem;
    line-height: 1.3;
}

.tab-switch {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.tab-switch button {
    background: none;
    border: none;
    color: #ccc;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    line-height: 1.3;
}

.tab-switch button.active {
    color: #00ffff;
    border-bottom: 2px solid #00ffff;
    border-radius: 13px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
    line-height: 1.6;
}

form label {
    color: #ccc;
    font-size: 0.95rem;
}

form input {
    padding: 0.8rem;
    border-radius: 6px;
    border: 1px solid #00ffff50;
    background: rgba(0,0,0,0.3);
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

form input:focus {
    outline: none;
    border-color: #00ffff;
    box-shadow: 0 0 10px #00ffff;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0px 1000px rgba(0,0,0,0.3) inset !important;
    -webkit-text-fill-color: #fff !important;
    background-clip: padding-box;
    transition: background-color 5000s ease-in-out 0s;
}

form .btn-primary {
    display: block;
    width: 100%;
    max-width: 220px;
    margin: 1.2rem auto;
    padding: 0.8rem 2rem;
    background: #00ffff;
    color: #000;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-align: center;
}

form .btn-primary:hover {
    background: #00cccc;
    color: #fff;
    box-shadow: 0 0 10px #00ffff;
}

.hidden { display: none; }

.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-wrapper input {
    width: 100%;
    padding-right: 3rem;
    box-sizing: border-box;
}

.password-wrapper .password-toggle {
    position: absolute;
    right: 0.7rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.response-box {
    margin-top: 10px;
    padding: 10px;
    border-radius: 5px;
    display: none;
    font-weight: bold;
}

.response-success {
    color: #000;
    background-color: #0ff;
}

.response-error {
    color: #fff;
    background-color: #f00;
}

.forgot-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(6px);
    background: rgba(0,0,0,0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5000;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.forgot-modal.show {
    visibility: visible;
    opacity: 1;
}

.forgot-box {
    width: 100%;
    max-width: 380px;
    padding: 2.2rem 2rem;
    border-radius: 12px;

    background: linear-gradient(135deg, rgba(0,0,0,0.55), rgba(0,0,0,0.25));
    border: 1px solid rgba(0,255,255,0.4);
    box-shadow: 0 8px 20px rgba(0,255,255,0.25);
    backdrop-filter: blur(10px);
    text-align: center;
}

.forgot-box h3 {
    color: #00ffff;
    margin-bottom: 0.8rem;
}

.forgot-box p {
    color: #ccc;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.forgot-box input {
    width: 100%;
    padding: 0.8rem;
    background: rgba(0,0,0,0.35);
    border: 1px solid #00ffff55;
    border-radius: 6px;
    color: #fff;
    margin-bottom: 1.4rem;
    font-size: 1rem;
}

.forgot-box input:focus {
    outline: none;
    border-color: #00ffff;
    box-shadow: 0 0 10px #00ffff;
}

.forgot-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn-secondary {
    background: rgba(50,50,50,0.7);
    border: 1px solid #666;
    padding: 0.8rem 1.6rem;
    border-radius: 8px;
    cursor: pointer;
    color: #fff;
    transition: 0.3s;
}

.btn-secondary:hover {
    background: #333;
    box-shadow: 0 0 10px #444;
}

.hidden { display: none; }

.modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: none;
align-items: center;
justify-content: center;
background: rgba(0, 0, 0, 0.75);
z-index: 99999;
}

.modal.active {
display: flex;
}

.modal-content {
background: #0a0a0a;
border: 1px solid #00ffff33;
padding: 25px;
border-radius: 12px;
width: 320px;
text-align: center;
box-shadow: 0 0 30px #00ffff22;
}

.modal-content input {
width: 100%;
padding: 10px;
margin: 15px 0;
border-radius: 6px;
border: 1px solid #00ffff55;
background: #000;
color: #fff;
}

.modal-content input:focus {
outline: none;
border-color: #00ffff;
box-shadow: 0 0 10px #00ffff;
}

.modal-actions {
display: flex;
gap: 10px;
justify-content: center;
}
