:root {
    --teal: #2ba7bd;
    --teal-dark: #1f8699;
    --slate-1: #4a5560;
    --slate-2: #2c343d;
}

* { box-sizing: border-box; }

.auth-body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
    background: linear-gradient(135deg, var(--slate-1), var(--slate-2));
    padding: 20px;
}

.auth-card {
    width: 100%;
    max-width: 430px;
    background: rgba(70, 80, 92, 0.55);
    border-radius: 6px;
    padding: 28px 30px 34px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(2px);
}

.brand { text-align: center; margin-bottom: 22px; }

.brand-logo { max-width: 240px; margin: 0 auto 6px; display: block; }

.brand-text { color: #fff; }
.brand-name .m { color: #e23b2e; font-weight: 800; font-size: 22px; letter-spacing: 1px; }
.brand-sub { color: #f2b41c; font-weight: 700; letter-spacing: 6px; font-size: 14px; }
.brand-csr { color: #d8dde2; font-size: 10px; margin-top: 2px; }

.crm-title { margin-top: 10px; font-size: 26px; font-weight: 800; letter-spacing: 1px; }
.crm-title .c1 { color: #33c0d6; }
.crm-title .c2 {
    background: linear-gradient(90deg,#e23b2e,#f2b41c,#33c0d6,#7ac943);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

form { margin-top: 8px; }

.field {
    display: flex;
    align-items: stretch;
    margin-bottom: 14px;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}

.field-icon {
    background: var(--teal);
    color: #fff;
    width: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.field input,
.field select {
    flex: 1;
    border: none;
    outline: none;
    padding: 13px 14px;
    font-size: 15px;
    color: #333;
    background: #fff;
}

.field select { cursor: pointer; appearance: auto; }

.btn-login {
    width: 100%;
    border: none;
    background: var(--teal);
    color: #fff;
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 16px;
    padding: 13px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 6px;
    transition: background 0.15s ease;
}

.btn-login:hover { background: var(--teal-dark); }

.auth-alert {
    background: #fdecea;
    color: #b3261e;
    border: 1px solid #f5c6c2;
    border-radius: 4px;
    padding: 10px 12px;
    font-size: 13.5px;
    margin-bottom: 16px;
}

.auth-alert .alert-link { color: #b3261e; font-weight: 700; margin-left: 4px; }

.auth-success {
    background: #eaf7ee;
    color: #1e7a3a;
    border: 1px solid #b9e3c6;
    border-radius: 4px;
    padding: 10px 12px;
    font-size: 13.5px;
    margin-bottom: 16px;
}

.auth-footer {
    text-align: center;
    margin-top: 18px;
    color: #dfe4e8;
    font-size: 13px;
}

.auth-footer a, .field-note a { color: #7fe0f0; text-decoration: none; font-weight: 600; }
.auth-footer a:hover { text-decoration: underline; }

.btn-link-plain {
    background: none;
    border: none;
    color: #7fe0f0;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    padding: 0;
}
.btn-link-plain:hover { text-decoration: underline; }

.field-label { color: #eef2f5; font-size: 13px; margin: 2px 0 6px; }
.readonly-row {
    color: #eef2f5;
    font-size: 13.5px;
    display: flex;
    justify-content: space-between;
    padding: 6px 2px;
    border-bottom: 1px dashed rgba(255,255,255,0.15);
}
.readonly-row span:first-child { color: #aeb8c0; }
