/**
 * auth.css
 * Extracted stylesheet for Auth views (Login & Register) - Aqiqah Pakde Gun
 */

.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12rem 2rem 5rem;
    background-color: #0a0a0a;
}

.auth-container {
    width: 100%;
}

.auth-container.login-container {
    max-width: 450px;
}

.auth-container.register-container {
    max-width: 900px;
}

.auth-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4rem;
    border-radius: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.auth-header {
    text-align: center;
    margin-bottom: 3rem;
}

.auth-header h2 {
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 1rem;
}

.auth-header h2 span {
    color: var(--primary);
}

.auth-header p {
    color: #aaa;
    font-size: 1.4rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem 2rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    color: #ddd;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-wrapper svg,
.input-wrapper i {
    position: absolute;
    left: 1.5rem;
    color: var(--primary);
    width: 1.8rem;
    height: 1.8rem;
    pointer-events: none;
    z-index: 1;
}

.input-wrapper input,
.input-wrapper textarea {
    width: 100%;
    padding: 1.4rem 1.4rem 1.4rem 4.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    color: #fff;
    font-size: 1.4rem;
    transition: 0.3s;
}

.input-wrapper input:focus,
.input-wrapper textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    font-size: 1.3rem;
    width: 100%;
}

.remember-me {
    color: #aaa;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    user-select: none;
}

.forgot-pass {
    color: var(--primary);
    text-decoration: none;
    transition: 0.3s;
}

.forgot-pass:hover {
    text-decoration: underline;
}

.auth-btn {
    width: 100%;
    padding: 1.4rem;
    border-radius: 1rem;
    font-size: 1.6rem;
    font-weight: 600;
    margin-top: 1rem;
    cursor: pointer;
}

.auth-footer {
    text-align: center;
    margin-top: 2.5rem;
    font-size: 1.3rem;
    color: #aaa;
}

.auth-footer a {
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
    transition: 0.3s;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.captcha-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.captcha-img {
    border-radius: 0.5rem;
    overflow: hidden;
    height: 45px;
    display: flex;
    align-items: center;
    background: #fff;
}

.btn-refresh {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}

.btn-refresh:hover {
    background: var(--primary);
    color: #000;
}

@media (max-width: 768px) {
    .auth-card {
        padding: 2.5rem;
    }
    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
