/* Mobile Screen Container for Login */
.mobile-container {
    padding: calc(18px + env(safe-area-inset-top, 0px)) 20px 28px 20px;
}

/* Top Back Navigation */
.top-nav {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.back-btn {
    background: transparent;
    border: none;
    color: var(--absher-mint);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: opacity 0.2s;
}

.back-btn:active {
    opacity: 0.6;
}

.back-btn svg {
    width: 26px;
    height: 26px;
    stroke-width: 2;
}

/* Logos Area */
.logos-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 22px;
    margin-bottom: 24px;
}

.absher-logo {
    height: 56px;
    width: auto;
    display: block;
}

.emblem-img {
    height: 58px;
    width: 58px;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
}

/* Title */
.page-title {
    text-align: center;
    font-size: 25px;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: -0.3px;
    margin-bottom: 30px;
}

/* Form Controls */
.login-form {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.input-group {
    background-color: var(--input-bg);
    border: 1.5px solid var(--input-border);
    border-radius: 16px;
    padding: 13px 18px 11px 18px;
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.15s ease;
}

.input-group:focus-within {
    border-color: var(--absher-mint);
}

.input-label {
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-gray);
    margin-bottom: 2px;
}

.text-input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-white);
    font-size: 15.5px;
    font-weight: 500;
    width: 100%;
    padding: 2px 0 0 0;
    caret-color: var(--absher-mint);
}

.text-input::placeholder {
    color: var(--text-placeholder);
    opacity: 0.9;
}

/* Keep me logged in Checkbox */
.checkbox-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    margin-bottom: 16px;
    cursor: pointer;
    user-select: none;
}

.custom-checkbox {
    width: 20px;
    height: 20px;
    border: 1.6px solid #4d545e;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.checkbox-container input[type="checkbox"] {
    display: none;
}

.checkbox-container input[type="checkbox"]:checked + .custom-checkbox {
    background-color: var(--absher-mint);
    border-color: var(--absher-mint);
}

.custom-checkbox svg {
    display: none;
    width: 14px;
    height: 14px;
    stroke: #0c1810;
    stroke-width: 2.5;
}

.checkbox-container input[type="checkbox"]:checked + .custom-checkbox svg {
    display: block;
}

.checkbox-label {
    font-size: 14.5px;
    font-weight: 500;
    color: #8c939d;
}

/* Info Callout */
.info-callout {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 30px;
}

.info-icon {
    width: 17px;
    height: 17px;
    color: var(--info-blue);
    flex-shrink: 0;
    margin-top: 2px;
}

.info-text {
    font-size: 12.8px;
    font-weight: 400;
    line-height: 1.45;
    color: #939aa4;
}

/* Bottom CTA Section */
.bottom-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding-bottom: 8px;
}

.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 52px;
    background-color: var(--btn-sage);
    color: var(--btn-text);
    font-size: 16.5px;
    font-weight: 700;
    border-radius: 16px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    transition: all 0.2s ease;
}

.submit-btn:active {
    transform: scale(0.985);
    background-color: var(--btn-sage-active);
}

.forgot-password-link {
    color: var(--absher-mint);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
}

.forgot-password-link:active {
    opacity: 0.7;
}
