.auth-portal-content {
    border: none;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(35, 166, 213, 0.15);
}

.auth-portal-content .modal-header {
    border-bottom: 1px solid #eef1f4;
    padding: 16px 20px 0;
    background: linear-gradient(160deg, rgba(35, 166, 213, 0.06), rgba(231, 60, 126, 0.04));
}

.auth-portal-content .modal-body {
    padding: 20px 24px 24px;
}

.auth-portal-tabs {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 8px;
}

.auth-portal-tabs li {
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 600;
    color: #888;
    cursor: pointer;
    border-radius: 8px 8px 0 0;
    user-select: none;
    transition: all 0.15s ease;
}

.auth-portal-tabs li.active {
    color: #1d8eb8;
    background: #fff;
}

.auth-portal-subtitle {
    margin: 0 0 16px;
    font-size: 13px;
    color: #888;
}

.auth-portal-content .form-group {
    margin-bottom: 14px;
}

.auth-portal-content label {
    font-size: 13px;
    font-weight: 600;
    color: #444;
    margin-bottom: 6px;
}

.auth-portal-captcha-row {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.auth-portal-captcha-row .form-control {
    flex: 1;
}

.auth-portal-captcha-row img {
    height: 34px;
    border-radius: 6px;
    cursor: pointer;
    border: 1px solid #eef1f4;
}

.auth-portal-actions {
    margin-top: 18px;
}

.auth-portal-actions .btn-primary {
    width: 100%;
    padding: 10px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    background: linear-gradient(135deg, #23A6D5, #1d8eb8);
    border: none;
}

.auth-portal-actions .btn-primary:hover {
    background: linear-gradient(135deg, #1d8eb8, #167aa3);
}

.auth-portal-msg {
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    display: none;
}

.auth-portal-msg.error {
    display: block;
    background: #fff5f5;
    color: #c53030;
    border: 1px solid #fed7d7;
}

.auth-portal-msg.success {
    display: block;
    background: #f0fff4;
    color: #276749;
    border: 1px solid #c6f6d5;
}
