/* AGIControls.Blazor portal login styles.
   Reference once from your host:
       <link rel="stylesheet" href="_content/AGIControls.Blazor/portal-login.css" />
   All selectors are scoped under .agi-login-* so they won't collide with app CSS. */

.agi-login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: #f3f3f3;
}

.agi-login-card {
    width: 100%;
    max-width: 400px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 32px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.agi-login-header {
    text-align: center;
    margin-bottom: 24px;
}

.agi-login-header h1 {
    margin: 0 0 6px 0;
    font-size: 22px;
    font-weight: 600;
    color: #323130;
}

.agi-login-subtitle {
    font-size: 12px;
    color: #605E5C;
}

.agi-login-alert {
    background: #FFEBE9;
    border: 1px solid #ffd1cd;
    color: #8a1f12;
    padding: 10px 12px;
    border-radius: 4px;
    font-size: 13px;
    margin-bottom: 16px;
}

.agi-login-field {
    margin-bottom: 14px;
}

.agi-login-field label {
    display: block;
    font-size: 12px;
    color: #605E5C;
    margin-bottom: 4px;
}

.agi-login-input {
    width: 100%;
    height: 32px;
    padding: 0 10px;
    font-size: 13px;
    color: #323130;
    background: #ffffff;
    border: 1px solid #8A8886;
    border-radius: 4px;
    box-sizing: border-box;
}

.agi-login-input:focus {
    outline: none;
    border-color: #0078D4;
}

.agi-login-primary-btn {
    width: 100%;
    height: 36px;
    margin-top: 4px;
    font-size: 13px;
    font-weight: 500;
    color: #ffffff;
    background: #0078D4;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.agi-login-primary-btn:hover:not(:disabled) {
    background: #005A9E;
}

.agi-login-primary-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.agi-login-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
}

.agi-login-divider hr {
    flex: 1;
    border: none;
    border-top: 1px solid #e0e0e0;
}

.agi-login-divider span {
    color: #A19F9D;
    font-size: 12px;
    white-space: nowrap;
}

.agi-login-secondary-btn {
    width: 100%;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    color: #323130;
    background: #ffffff;
    border: 1px solid #8A8886;
    border-radius: 4px;
    text-decoration: none;
    box-sizing: border-box;
}

.agi-login-secondary-btn:hover {
    background: #F3F3F3;
}

.agi-login-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e0e0e0;
    font-size: 13px;
}
