* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Oxygen, Ubuntu, sans-serif;
    background: #f2f2f2;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1b1b1b;
}

.login-card {
    background: #ffffff;
    padding: 44px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo {
    margin-bottom: 16px;
}

.logo svg {
    width: 108px;
    height: 24px;
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
    color: #1b1b1b;
    letter-spacing: -0.3px;
}

.card-title {
    font-size: 24px;
    font-weight: 600;
    color: #1b1b1b;
    margin-bottom: 4px;
}

.card-subtitle {
    font-size: 13px;
    color: #616161;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 24px;
}

input[type="email"] {
    width: 100%;
    padding: 6px 0;
    font-size: 15px;
    border: none;
    border-bottom: 1px solid #666666;
    background: transparent;
    color: #1b1b1b;
    outline: none;
    transition: border-color 0.2s;
}

input[type="email"]:focus {
    border-bottom: 2px solid #0067b8;
    padding-bottom: 5px;
}

input[type="email"]::placeholder {
    color: #767676;
}

.btn {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color 0.15s;
}

.btn-primary {
    background: #0067b8;
    color: #ffffff;
    min-width: 108px;
}

.btn-primary:hover {
    background: #005da6;
}

.btn-primary:active {
    background: #004e8c;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-link {
    background: none;
    border: none;
    color: #0067b8;
    font-size: 13px;
    cursor: pointer;
    padding: 0;
    font-weight: 400;
}

.btn-link:hover {
    text-decoration: underline;
    color: #005da6;
}

.error-box {
    background: #fde7e9;
    border-left: 4px solid #d13438;
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #d13438;
}

.info-box {
    background: #f0f6ff;
    border-left: 4px solid #0067b8;
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #0067b8;
}

.validation-message {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #d13438;
}

.actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
}

.footer {
    text-align: left;
    margin-top: 32px;
    font-size: 12px;
    color: #616161;
}

/* Account picker styles */
.account-picker {
    margin-bottom: 16px;
}

.account-picker-title {
    font-size: 13px;
    color: #616161;
    margin-bottom: 8px;
}

.account-list {
    list-style: none;
    border: 1px solid #e1e1e1;
}

.account-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #e1e1e1;
    transition: background-color 0.1s;
}

.account-item:last-child {
    border-bottom: none;
}

.account-item:hover {
    background: #f5f5f5;
}

.account-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #0067b8;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    margin-right: 12px;
    flex-shrink: 0;
    text-transform: uppercase;
}

.account-info {
    flex: 1;
    min-width: 0;
}

.account-email {
    font-size: 14px;
    color: #1b1b1b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.account-label {
    font-size: 12px;
    color: #0067b8;
    font-weight: 600;
}

.account-item--new .account-avatar {
    background: #f3f3f3;
    color: #616161;
}

.account-item--new .account-email {
    color: #616161;
}

.remove-btn {
    background: none;
    border: none;
    color: #a0a0a0;
    cursor: pointer;
    font-size: 18px;
    padding: 4px 8px;
    line-height: 1;
    border-radius: 2px;
    transition: color 0.15s, background-color 0.15s;
}

.remove-btn:hover {
    color: #d13438;
    background: #fde7e9;
}

.hidden {
    display: none !important;
}