@font-face {
    font-family: 'D-DIN';
    src: url('/fonts/D-DIN.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'D-DIN';
    src: url('/fonts/D-DIN-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    font-family: 'D-DIN', sans-serif;
    background-color: #F8F9FA;
    color: #4e4e4e;
}

.auth-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.auth-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 16px 24px;
}

.auth-column {
    width: 100%;
    max-width: 420px;
    text-align: center;
}

.auth-logo {
    display: inline-block;
    margin-bottom: 24px;
}

.auth-logo img {
    height: 40px;
    width: auto;
    display: block;
}

.auth-footer {
    text-align: center;
    font-size: 12px;
    color: #a8a8a8;
    padding: 16px 16px 24px;
}

.auth-title {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 700;
    color: #374151;
    line-height: 1.3;
}

.auth-subtitle {
    margin: 0 0 24px;
    font-size: 14px;
    font-weight: 400;
    color: #9ca3af;
    line-height: 1.5;
}

.auth-body {
    margin: 0 0 24px;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
}

.auth-form {
    text-align: left;
}

.auth-field {
    position: relative;
    margin-bottom: 12px;
}

.auth-field label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.auth-field .form-control,
.auth-field input[type="text"],
.auth-field input[type="email"],
.auth-field input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    margin: 0;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    outline: none;
    background: #fff;
    font-family: inherit;
    font-size: 14px;
    color: #4e4e4e;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-field .form-control::placeholder,
.auth-field input::placeholder {
    color: #9ca3af;
}

.auth-field .form-control:focus,
.auth-field input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.auth-field .text-danger,
.auth-form .text-danger {
    display: block;
    color: #ef4444;
    font-size: 13px;
    margin-top: 4px;
}

.validation-summary-errors {
    color: #ef4444;
    font-size: 13px;
    margin-bottom: 12px;
    text-align: left;
}

.validation-summary-errors ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.auth-body a {
    color: #2563eb;
    text-decoration: underline;
}

.auth-remember {
    margin: 4px 0 16px;
}

.auth-remember label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #6b7280;
    cursor: pointer;
}

.auth-remember input {
    margin: 0;
    accent-color: #2563eb;
}

.btn-primary,
button[type="submit"].btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background-color: #2563eb;
    color: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    font-family: inherit;
    font-weight: 700;
    font-size: 15px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s;
}

.btn-primary:hover,
button[type="submit"].btn-primary:hover {
    background-color: #1d4ed8;
    color: #fff;
    text-decoration: none;
}

a.btn-secondary,
.btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background-color: #fff;
    color: #374151;
    padding: 12px 16px;
    border-radius: 8px;
    font-family: inherit;
    font-weight: 700;
    font-size: 15px;
    border: 1px solid #e5e7eb;
    cursor: pointer;
    text-decoration: none;
    margin-top: 12px;
    transition: background-color 0.2s;
}

a.btn-secondary:hover,
.btn-secondary:hover {
    background-color: #f9fafb;
    color: #374151;
    text-decoration: none;
}

.auth-links {
    margin-top: 16px;
    text-align: center;
    font-size: 14px;
    color: #6b7280;
}

.auth-links p {
    margin: 8px 0 0;
}

.auth-links a,
.auth-legal a {
    color: #2563eb;
    text-decoration: underline;
    font-size: inherit;
}

.auth-links a:hover,
.auth-legal a:hover {
    text-decoration: underline;
}

.auth-legal {
    margin: 16px 0 0;
    text-align: center;
    font-size: 12px;
    color: #9ca3af;
    line-height: 1.5;
}

.auth-tertiary {
    margin-top: 12px;
    text-align: center;
}

.auth-tertiary a {
    color: #9ca3af;
    font-size: 12px;
    text-decoration: none;
}

.auth-tertiary a:hover {
    text-decoration: underline;
    color: #6b7280;
}

.auth-illustration {
    display: block;
    width: 100%;
    max-width: 360px;
    height: auto;
    margin: 0 auto 24px;
    object-fit: contain;
}

.auth-store-badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.auth-store-badges a {
    display: block;
    line-height: 0;
    text-decoration: none;
}

.auth-store-badges svg {
    height: 40px;
    width: auto;
    display: block;
}

.auth-requirements {
    margin: 0 0 20px;
    padding-left: 20px;
    text-align: left;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
}

.auth-requirements li {
    margin: 0;
}

.auth-external {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #f3f4f6;
}

.auth-external .btn-primary {
    margin-top: 8px;
}
