.lounge-background {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1;
filter: brightness(0.7);
}

.auth-container-wrapper {
position: relative;
width: 90%;
max-width: 500px;
z-index: 2;
perspective: 2000px;
margin: 10vh auto;
}

.auth-container {
display: flex;
background: rgba(10, 10, 20, 0.7);
backdrop-filter: blur(15px);
-webkit-backdrop-filter: blur(15px);
border-radius: 20px;
border: 1px solid rgba(255, 255, 255, 0.1);
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
overflow: hidden;
animation: authFadeIn 1s cubic-bezier(0.165, 0.84, 0.44, 1);
position: relative; 
}

@keyframes authFadeIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}

.auth-panel.find-panel {flex: 1;padding: 30px 10px;box-sizing: border-box;color: white;display: flex;flex-direction: column;position: relative;z-index: 2;text-align: center;}

@media (max-width: 800px) {
.auth-container-wrapper { margin: 5vh auto; }
.auth-panel.find-panel { padding: 2rem; }
}

.auth-panel h3 {
font-size: 2.2rem; font-weight: 700; margin: 0 0 1rem 0;
color: #ffffff; text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}


.auth-tabs {
display: flex;
background: rgba(0,0,0,0.2);
border-radius: 8px;
padding: 5px;
margin-bottom: 2rem;
}

.auth-tab {
flex: 1;
padding: 0.75rem 0.5rem;
border: none;
background: transparent;
color: #ccc;
font-size: 0.9rem;
font-weight: 700;
border-radius: 6px;
cursor: pointer;
transition: all 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
}

.auth-tab svg {
width: 16px;
height: 16px;
}

.auth-tab:hover {
background: rgba(255,255,255,0.1);
color: #fff;
}

.auth-tab.active {
background: #007bff;
color: #fff;
box-shadow: 0 4px 10px rgba(0,123,255,0.3);
}

.auth-content {
display: none;
}

.auth-content.active {
display: block;
animation: contentFadeIn 0.5s;
}

@keyframes contentFadeIn {
from { opacity: 0; }
to { opacity: 1; }
}

.auth-panel p.description {font-size: 1rem;color: #ccc;line-height: 1.6;margin: 0 0 2rem 0;}

.auth-container .btn {display: block;padding: 1rem;border: none;border-radius: 8px;font-size: 1.1rem;font-weight: 700;box-sizing: border-box;cursor: pointer;text-align: center;text-decoration: none;transition: all 0.2s ease;margin-bottom: 1rem;color: #f0f0f7;}

.auth-container .btn-primary {
background-color: #007bff; color: white;
box-shadow: 0 4px 15px rgba(0,123,255,0.3);
}

.auth-container .btn-primary:hover {
background-color: #0056b3; transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(0,123,255,0.4);
}

.auth-container .btn-secondary {
background-color: rgba(255, 255, 255, 0.1); color: #fff;
border: 1px solid rgba(255, 255, 255, 0.3);
}

.auth-container .btn-secondary:hover {
background-color: rgba(255, 255, 255, 0.2);
transform: translateY(-2px);
}


.cert-buttons {
display: flex;
flex-direction: column;
gap: 1rem;
}

.input-group-icon {
position: relative;
margin-bottom: 1.25rem;
}
.input-group-icon .icon {
position: absolute; left: 15px; top: 50%;
transform: translateY(-50%); color: #888; z-index: 1;
width: 20px; height: 20px; fill: #888;
}

.input-group-icon input {
width: 100%; padding: 0.9rem 1rem 0.9rem 50px;
font-size: 1rem; border: 1px solid #555;
background: rgba(0,0,0,0.2); border-radius: 8px;
box-sizing: border-box; color: white;
}

.input-group-icon input:focus {
background: rgba(0,0,0,0.1);
border-color: #007bff;
border: #007bff;
outline: none;
color: white;
}

.input-group-icon input::placeholder { color: #888; }

.form-control:disabled, .form-control[readonly] {
background: rgba(24,76,90);
opacity: 1;
border-color: #656565;
}

.captcha-group {
margin-bottom: 1.25rem;
display: flex;
justify-content: center;
}

.find-links-bottom {
margin-top: 1.5rem;
}

.find-links-bottom a {
color: #ccc;
font-size: 0.9rem;
text-decoration: none;
}

.find-links-bottom a:hover {
color: #fff;
text-decoration: underline;
}