:root {
    --primary-color: #000060;
}

/* Reset — override layout.css defaults that conflict */
body {
    margin: 0;
    height: 100vh;
    width: 100%;
    font-family: Arial, sans-serif;
}

/* ─── Abbott Login Page ──────────────────────────────────────── */
.abbott-login-container {
    display: flex;
    min-height: 100vh;
    font-family: Arial, sans-serif;
}

/* Left panel — brand */
.abbott-brand-panel {
    flex: 1;
    background: #f8f9fc;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px;
    position: relative;
    border-right: 1px solid #e0e2ec;
    overflow: hidden;
}

.abbott-brand-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.abbott-logo {
    height: 80px;
    width: auto;
    margin-bottom: 40px;
    align-self: flex-start;
}

.abbott-portal-title {
    font-size: 28px;
    font-weight: 500;
    color: #1e293b;
    line-height: 1.35;
    margin: 0 0 12px;
    max-width: 320px;
}

.abbott-portal-subtitle {
    font-size: 14px;
    color: #64748b;
    line-height: 1.7;
    margin: 0 0 32px;
    max-width: 300px;
}

.abbott-accent-bar {
    width: 40px;
    height: 3px;
    background: #000060;
    border-radius: 2px;
    margin-bottom: 32px;
}

.abbott-tagline {
    font-size: 18px;
    color: #000060;
    font-style: italic;
    font-family: Georgia, 'Times New Roman', serif;
    margin: 0;
}

.abbott-powered-by {
    position: absolute;
    bottom: 24px;
    left: 48px;
    z-index: 1;
    font-size: 11px;
    color: #94a3b8;
    display: flex;
    align-items: center;
}

.abbott-ip-icon {
    height: 16px;
    vertical-align: middle;
    margin-right: 6px;
}

.abbott-brand-panel::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -10%;
    transform: translateY(-50%);
    width: 85%;
    height: 85%;
    background-image: url('/img/abbott/Abbott-Icon-New.png');
    background-repeat: no-repeat;
    background-position: center right;
    background-size: contain;
    opacity: 0.025;
    pointer-events: none;
}

/* Right panel — form */
.abbott-form-panel {
    flex: 1;
    background: #f8f9fc;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 48px;
}

.abbott-form-card {
    background: #fff;
    border: 1px solid #e0e2ec;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    padding: 48px 40px;
    width: 100%;
    max-width: 420px;
}

.abbott-form-container {
    width: 100%;
}

.abbott-form-header {
    text-align: center;
    margin-bottom: 36px;
}

.abbott-lock-badge {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    border-radius: 12px;
    background: #eef0f8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.abbott-welcome {
    font-size: 18px;
    font-weight: 500;
    color: #1e293b;
    margin: 0 0 4px;
}

.abbott-welcome-sub {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

/* Error message */
.abbott-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #991b1b;
}

/* Form fields */
.abbott-field-group {
    margin-bottom: 20px;
}

.abbott-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.abbott-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #475569;
    letter-spacing: 0.02em;
    margin-bottom: 6px;
}

.abbott-label-row .abbott-label {
    margin-bottom: 0;
}

.abbott-forgot-link {
    font-size: 12px;
    color: #000060;
    text-decoration: none;
    font-weight: 500;
}
.abbott-forgot-link:hover {
    color: #000080;
    text-decoration: underline;
}

.abbott-input-wrapper {
    display: flex;
    align-items: center;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    height: 44px;
    padding: 0 14px;
    transition: border-color 0.15s;
}
.abbott-input-wrapper:focus-within {
    border-color: #000060;
}

.abbott-input-wrapper svg {
    flex-shrink: 0;
    margin-right: 10px;
}

.abbott-input-wrapper svg.abbott-eye-icon {
    margin-right: 0;
    margin-left: auto;
    cursor: pointer;
}

/* Validation check and eye-toggle images (used on reset-password page) */
.abbott-input-wrapper .check-image {
    display: none;
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

.abbott-input-wrapper img.abbott-eye-icon {
    display: none;
    width: 20px;
    height: 20px;
    object-fit: contain;
    cursor: pointer;
    margin-right: 0;
    margin-left: auto;
    flex-shrink: 0;
}

.abbott-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 14px;
    color: #1e293b;
    outline: none;
    font-family: Arial, sans-serif;
}
.abbott-input::placeholder {
    color: #94a3b8;
}

/* Remember me */
.abbott-remember-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.abbott-checkbox-wrapper {
    position: relative;
    width: 16px;
    height: 16px;
}

.abbott-checkbox-wrapper input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 16px;
    height: 16px;
    cursor: pointer;
    z-index: 1;
}

.abbott-checkbox-visual {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1.5px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}

.abbott-checkbox-wrapper input:checked + .abbott-checkbox-visual {
    background: #000060;
    border-color: #000060;
}

.abbott-checkbox-wrapper input:checked + .abbott-checkbox-visual svg {
    display: block;
}

.abbott-checkbox-visual svg {
    display: none;
    width: 10px;
    height: 10px;
}

.abbott-remember-label {
    font-size: 13px;
    color: #64748b;
}

/* Submit button */
.abbott-submit-btn {
    width: 100%;
    height: 46px;
    background: #000060;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background 0.15s;
    font-family: Arial, sans-serif;
}
.abbott-submit-btn:hover {
    background: #000080;
}

/* Footer */
.abbott-form-footer {
    text-align: center;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.abbott-form-footer p {
    font-size: 11px;
    color: #94a3b8;
    margin: 0;
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
    .abbott-brand-panel { display: none; }
    .abbott-form-panel { padding: 40px 24px; }
}
