/* --- Base Reset & Typography Setup --- */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
    background-color: #ffffff;
    color: #333333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.page-wrapper {
    width: 100%;
    max-width: 540px;
    padding: 40px 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- Main Structure Center Card Layout --- */
.auth-card {
    width: 100%;
    background: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 24px; /* Pronounced curve wrapper */
    padding: 40px 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

/* --- Brand Header Presentation --- */
.brand-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}

.att-logo {
    width: 38px;
    height: 38px;
}

.brand-text {
    font-size: 28px;
    font-weight: 700;
    color: #000000;
    letter-spacing: -0.5px;
}

/* Titles style setup */
h1 {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 32px 0;
    color: #111111;
    line-height: 1.2;
}

.sub-h1 {
    font-weight: 600;
}

/* --- Forms & Interactive Field Processing Elements --- */
.login-form {
    width: 100%;
}

.input-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 24px;
}

.input-container label {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #333333;
    text-align: left;
}

.input-container input {
    width: 100%;
    height: 50px;
    padding: 10px 16px;
    font-size: 16px;
    border: 1px solid #666666;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s;
}

.input-container input:focus {
    border-color: #0057B8;
    border-width: 2px;
}

/* --- Custom Control Buttons Infrastructure --- */
.btn {
    width: 100%;
    height: 50px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 25px; /* Fully rounded capsule button style */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s, color 0.2s;
}

.btn-primary {
    background-color: #003688; /* Deep custom corporate blue variant color */
    color: #ffffff;
    border: none;
}

.btn-primary:hover {
    background-color: #00255c;
}

.btn-secondary {
    background-color: transparent;
    color: #0057B8;
    border: 2px solid #0057B8;
}

.btn-secondary:hover {
    background-color: #f4f9ff;
}

/* --- Dynamic Inline Action Links Layout --- */
.links-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-top: 28px;
    margin-bottom: 24px;
}

.action-link {
    color: #0057B8;
    text-decoration: none;
    font-size: 16px;
}

.text-bold {
    font-weight: 600;
}

.action-link:hover {
    text-decoration: underline;
}

/* --- Inline Text Line Block Divider (OR Break) --- */
.separator-bar {
    width: 100%;
    position: relative;
    text-align: center;
    margin: 12px 0 28px 0;
}

.separator-bar::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background-color: #cccccc;
    z-index: 1;
}

.separator-bar span {
    background-color: #ffffff;
    padding: 0 16px;
    position: relative;
    z-index: 2;
    font-size: 13px;
    font-weight: 700;
    color: #111111;
}

/* --- Outer Footnotes & Terms Elements Structure --- */
.page-footer {
    width: 100vw;
    max-width: 900px;
    margin-top: 40px;
    text-align: center;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 24px;
    margin-bottom: 16px;
}

.footer-nav a {
    color: #333333;
    text-decoration: none;
    font-size: 14px;
}

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

.privacy-choice {
    display: inline-flex;
    align-items: center;
}

.copyright {
    font-size: 13px;
    color: #666666;
    margin: 0;
}