/* Turnstile Widget Styling */
.cf-turnstile {
    margin-top: 0.5rem;
    display: fixed;
    text-align: center;
}

/* Page Layout */
.auth-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 100px 0 50px;
    background-color: var(--color-bg-primary);
}

/* Background Image */
.background-image {
    position: absolute;
    /* top: 0; */
    /* left: 0; */
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.1;
    pointer-events: none;
    overflow: hidden;
}

.background-image img {
    position: absolute;
    height: 100%;
    width: auto;
    height: auto;
    overflow: hidden;
}

/* Auth Card */
.auth-card-container {
    display: flex;
    z-index: 1;
    overflow: hidden;
    border-radius: 10px;
    width: 100%;
}

.small-auth-card-container { max-width: 450px; }
.med-auth-card-container { max-width: 900px; }
.reg-auth-card-container { max-width: 1200px; }

.auth-card {
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    background-color: var(--color-bg-white);
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
}

.small-auth-card { padding: 40px; }
.med-auth-card, .reg-auth-card { display: flex; }

/* Auth Form */
.auth-img {
    display: block;
    margin: 0 auto 30px;
    max-width: 120px;
    height: auto;
}

.auth-card-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

/* Inputs */
input, select {
    width: 100%;
    padding: 10px;
    border: solid 1px var(--color-border-default);
    border-radius: 10px;
    outline: none;
    transition: border-color 0.2s ease;
}

input::placeholder {
    color: var(--color-border-default);
}

input:focus {
    border-color: var(--color-bg-primary-light);
}

/* Links */
.auth-links{
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

/* Password Toggle */
.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-gray);
}

/* Button */
.btn-submit {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Password Requirements */
.password-requirements {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.requirement {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-text-gray);
    transition: color 0.3s ease;
}

.requirement i {
    color: var(--color-text-gray);
    transition: color 0.3s ease;
}

.requirement.valid i {
    font-weight: 900; /* This makes it fa-solid */
    color: #5c8a51;
}

/* Responsive Styles */
/* Mobile-only: 767px below */
@media (max-width: 767px) {
    .small-auth-card-container {
        padding: 0 20px;
    }
}

/* Tablet-only: 768px – 1365px */
@media (min-width: 768px) and (max-width: 1365px) {
}

/* Mobile and Tablet: 1365px below */
@media (max-width: 1365px) {
}