/* ═══════════════════════════════════════════════════════
   AOG Profiles — Main Stylesheet
   ═══════════════════════════════════════════════════════ */

/* ── Variables ──────────────────────────────────────── */
:root {
    --aog-blue: #026db8;
    --aog-blue-dark: #01568f;
    --aog-blue-light: #0297ff;
    --aog-blue-bg: #f0f7ff;
    --aog-navy: #1e3a5f;
    --aog-red: #dc3545;
    --aog-green: #0a8043;
    --aog-green-bg: #e6f7ee;
    --aog-gray: #666;
    --aog-gray-light: #888;
    --aog-border: #e8f0f8;
    --aog-bg: #f8f9fa;
    --aog-text: #333;
    --aog-text-dark: #2d3748;
    --aog-radius: 10px;
    --aog-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

/* ════════════════════════════════════════════════════════
   SUPPLIER & ECP PROFILE (shared base)
   ════════════════════════════════════════════════════════ */

.aog-supplier-profile,
.aog-ecp-profile {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica', Arial, sans-serif;
    color: var(--aog-text);
    line-height: 1.65;
    background: var(--aog-bg);
    padding: 0;
}

.aog-supplier-profile *,
.aog-ecp-profile * {
    box-sizing: border-box;
}

/* ── Header ─────────────────────────────────────────── */

.sp-header {
    background: #fff;
    border-bottom: 1px solid var(--aog-border);
    padding: 40px 20px;
}

.sp-header-inner {
    display: flex;
    gap: 35px;
    align-items: flex-start;
    max-width: 1100px;
    margin: 0 auto;
}

.sp-logo {
    width: 140px;
    height: 140px;
    background: #f8fbff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    flex-shrink: 0;
    overflow: hidden;
}

.sp-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.sp-logo-placeholder {
    width: 60px;
    height: 60px;
    fill: var(--aog-blue);
    opacity: 0.3;
}

.sp-info {
    flex: 1;
}

.sp-badge {
    display: inline-block;
    background: var(--aog-green-bg);
    color: var(--aog-green);
    padding: 5px 14px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.sp-badge-certified {
    background: var(--aog-green-bg);
    color: var(--aog-green);
}

.sp-badge-pending {
    background: #fff8e1;
    color: #b8860b;
}

.sp-name {
    font-size: 2rem;
    color: var(--aog-navy);
    margin: 0 0 8px 0;
    font-weight: 700;
    line-height: 1.2;
}

.sp-category {
    font-size: 1rem;
    color: var(--aog-blue-light);
    font-weight: 500;
    margin-bottom: 12px;
}

.sp-regions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.sp-region-tag {
    background: var(--aog-blue-bg);
    color: var(--aog-blue);
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 0.82rem;
    font-weight: 500;
}

.sp-website {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--aog-blue);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
}

.sp-website:hover {
    text-decoration: underline;
}

.sp-website svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Socials */
.sp-socials {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.sp-social-link {
    width: 40px;
    height: 40px;
    background: var(--aog-blue-bg);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.sp-social-link:hover {
    background: var(--aog-blue);
}

.sp-social-link svg {
    width: 20px;
    height: 20px;
    fill: var(--aog-blue);
}

.sp-social-link:hover svg {
    fill: #fff;
}

/* Actions */
.sp-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}

.sp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    min-width: 180px;
    font-family: inherit;
}

.sp-btn-primary {
    background: var(--aog-blue);
    color: #ffffff !important;
}

.sp-btn-primary:hover {
    background: var(--aog-blue-dark);
}

.sp-btn-outline {
    background: #fff;
    color: var(--aog-blue) !important;
    border: 1px solid var(--aog-blue);
}

.sp-btn-outline:hover {
    background: var(--aog-blue-bg);
}

.sp-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.sp-likes-display {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--aog-red);
    font-size: 0.9rem;
    font-weight: 600;
}

/* Like button */
.aog-like-btn {
    position: relative;
}

.aog-like-btn svg {
    fill: var(--aog-gray-light);
    transition: fill 0.2s;
}

.aog-like-btn.aog-liked svg {
    fill: var(--aog-red);
}

.aog-like-btn .aog-like-count {
    font-size: 0.85rem;
}

/* ── Content ────────────────────────────────────────── */

.sp-content {
    padding: 40px 20px;
}

.sp-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.sp-section {
    background: #fff;
    border-radius: var(--aog-radius);
    padding: 28px;
    margin-bottom: 25px;
    box-shadow: var(--aog-shadow);
}

.sp-section:last-child {
    margin-bottom: 0;
}

.sp-section-title {
    font-size: 1.1rem;
    color: var(--aog-navy);
    margin: 0 0 18px 0;
    font-weight: 600;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sp-ecp-badge {
    font-size: 0.7rem;
    background: #e8f4ff;
    color: var(--aog-blue);
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: 600;
}

.sp-section-ecp {
    border-left: 3px solid var(--aog-blue);
}

.sp-description {
    color: #555;
    font-size: 0.98rem;
    line-height: 1.7;
    margin: 0;
}

.sp-description p:first-child { margin-top: 0; }
.sp-description p:last-child { margin-bottom: 0; }

.sp-brands-text {
    color: #444;
    font-size: 0.95rem;
    line-height: 1.8;
}

/* Documents */
.sp-docs-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sp-doc-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 18px;
    background: var(--aog-bg);
    border: 1px solid var(--aog-border);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
    color: inherit;
}

.sp-doc-item:hover {
    background: var(--aog-blue-bg);
    border-color: var(--aog-blue-light);
}

.sp-doc-icon {
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid #e2e8f0;
}

.sp-doc-icon svg {
    width: 22px;
    height: 22px;
    fill: var(--aog-blue);
}

.sp-doc-info {
    flex: 1;
}

.sp-doc-title {
    font-size: 0.95rem;
    color: var(--aog-text-dark);
    font-weight: 500;
}

.sp-doc-meta {
    font-size: 0.8rem;
    color: var(--aog-gray-light);
    margin-top: 3px;
}

.sp-doc-download {
    color: var(--aog-blue-light);
    font-size: 0.85rem;
    font-weight: 500;
}

/* ── Sidebar ────────────────────────────────────────── */

.sp-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sp-contact-card {
    background: #fff;
    border-radius: var(--aog-radius);
    padding: 25px;
    box-shadow: var(--aog-shadow);
}

.sp-contact-card h3 {
    font-size: 1.1rem;
    color: var(--aog-navy);
    margin: 0 0 20px 0;
    font-weight: 600;
}

.sp-contact-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
}

.sp-contact-item:last-of-type {
    border-bottom: none;
}

.sp-contact-item svg {
    width: 18px;
    height: 18px;
    fill: var(--aog-blue);
    flex-shrink: 0;
    margin-top: 2px;
}

.sp-contact-item .sp-label {
    font-size: 0.75rem;
    color: var(--aog-gray-light);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 3px;
}

.sp-contact-item .sp-value {
    font-size: 0.92rem;
    color: var(--aog-text-dark);
}

.sp-contact-item a {
    color: var(--aog-blue);
    text-decoration: none;
}

.sp-contact-item a:hover {
    text-decoration: underline;
}

/* Regional contacts */
.sp-regional {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--aog-border);
}

.sp-regional h4 {
    font-size: 0.9rem;
    color: var(--aog-navy);
    margin: 0 0 15px 0;
    font-weight: 600;
}

.sp-region-contact {
    background: var(--aog-bg);
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 10px;
}

.sp-region-contact:last-child {
    margin-bottom: 0;
}

.sp-region-contact .sp-region-name {
    font-size: 0.8rem;
    color: var(--aog-blue-light);
    font-weight: 600;
    margin-bottom: 4px;
}

.sp-region-contact .sp-contact-name {
    font-size: 0.88rem;
    color: var(--aog-text-dark);
    font-weight: 500;
}

.sp-region-contact .sp-contact-email {
    font-size: 0.82rem;
    color: var(--aog-blue);
    text-decoration: none;
}

.sp-region-contact .sp-contact-email:hover {
    text-decoration: underline;
}

/* Optics-Web */
.sp-optics-web {
    margin-top: 20px;
    padding: 18px;
    background: linear-gradient(135deg, var(--aog-blue-bg) 0%, #e8f4ff 100%);
    border-radius: 8px;
    border: 1px solid #d0e4f7;
}

.sp-optics-web p {
    font-size: 0.85rem;
    color: #555;
    margin: 0 0 12px 0;
}

.sp-optics-web a {
    color: var(--aog-blue);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
}

.sp-optics-web a:hover {
    text-decoration: underline;
}

/* Login prompt */
.sp-login-prompt {
    margin-top: 20px;
    padding: 20px;
    background: var(--aog-blue-bg);
    border-radius: 8px;
    text-align: center;
    border: 1px dashed var(--aog-blue);
}

.sp-login-prompt p {
    font-size: 0.88rem;
    color: #555;
    margin: 10px 0 15px;
}

/* Notice box (for own profile) */
.sp-notice {
    background: #fff;
    border-radius: var(--aog-radius);
    padding: 20px;
    box-shadow: var(--aog-shadow);
    font-size: 0.88rem;
    line-height: 1.6;
}

.sp-notice-info {
    border-left: 4px solid var(--aog-blue);
}

.sp-notice a {
    color: var(--aog-blue);
}

/* ── Interactions Section ───────────────────────────── */

.aog-interaction-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.aog-action-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: var(--aog-bg);
    border: 1px solid var(--aog-border);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--aog-text-dark);
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    text-align: left;
    width: 100%;
}

.aog-action-btn:hover {
    background: var(--aog-blue-bg);
    border-color: var(--aog-blue);
    color: var(--aog-blue);
}

.aog-action-btn:hover svg {
    fill: var(--aog-blue);
}

.aog-action-btn svg {
    fill: var(--aog-gray);
    flex-shrink: 0;
}

.aog-action-btn.aog-btn-success {
    background: var(--aog-green-bg);
    border-color: var(--aog-green);
    color: var(--aog-green);
}

.aog-rating-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: var(--aog-bg);
    border: 1px solid var(--aog-border);
    border-radius: 8px;
    flex-wrap: wrap;
}

.aog-rating-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--aog-text-dark);
}

.aog-star-rating {
    display: flex;
    gap: 4px;
}

.aog-star {
    font-size: 1.4rem;
    color: #ddd;
    cursor: pointer;
    transition: color 0.15s;
    user-select: none;
}

.aog-star:hover,
.aog-star.active {
    color: #f5a623;
}

.aog-rating-hint {
    font-size: 0.75rem;
    color: var(--aog-gray-light);
    width: 100%;
}

.aog-message-row {
    display: flex;
    gap: 10px;
}

.aog-short-message {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--aog-border);
    border-radius: 6px;
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
}

.aog-short-message:focus {
    border-color: var(--aog-blue);
}

.aog-send-message-btn {
    padding: 10px 20px;
    background: var(--aog-blue);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

.aog-send-message-btn:hover {
    background: var(--aog-blue-dark);
}

/* ════════════════════════════════════════════════════════
   AUTH WIDGET
   ════════════════════════════════════════════════════════ */

.aog-auth-widget {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.aog-auth-widget a.aog-btn-login {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    background: transparent;
    color: var(--aog-navy) !important;
    border: 1px solid var(--aog-navy);
}

.aog-auth-widget a.aog-btn-login:hover {
    background: var(--aog-blue-bg);
    color: var(--aog-blue) !important;
    border-color: var(--aog-blue);
}

.aog-auth-widget a.aog-btn-register {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    background: var(--aog-red);
    color: #ffffff !important;
    border: none;
}

.aog-auth-widget a.aog-btn-register:hover {
    background: #c82333;
}

.aog-auth-widget .aog-user-menu {
    position: relative;
    display: flex;
    align-items: center;
}

.aog-auth-widget .aog-user-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 6px;
    transition: background 0.2s;
}

.aog-auth-widget .aog-user-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}

.aog-auth-widget .aog-user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 6px;
    background: var(--aog-blue-bg);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aog-auth-widget .aog-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aog-auth-widget .aog-user-avatar svg {
    width: 20px;
    height: 20px;
    fill: var(--aog-blue);
    opacity: 0.5;
}

.aog-auth-widget .aog-user-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.aog-auth-widget .aog-user-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--aog-navy);
    line-height: 1.2;
    max-width: 140px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.aog-auth-widget .aog-user-company {
    font-size: 11px;
    color: var(--aog-gray);
    max-width: 140px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.aog-auth-widget .aog-user-arrow {
    width: 16px;
    height: 16px;
    fill: var(--aog-gray);
    transition: transform 0.2s;
}

.aog-auth-widget .aog-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--aog-border);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: all 0.2s;
    z-index: 9999;
}

.aog-auth-widget .aog-user-menu:hover .aog-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.aog-auth-widget .aog-user-menu:hover .aog-user-arrow {
    transform: rotate(180deg);
}

.aog-auth-widget .aog-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    color: #333 !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.15s;
}

.aog-auth-widget .aog-dropdown a:first-child {
    border-radius: 8px 8px 0 0;
}

.aog-auth-widget .aog-dropdown a:last-child {
    border-radius: 0 0 8px 8px;
}

.aog-auth-widget .aog-dropdown a:hover {
    background: var(--aog-blue-bg);
    color: var(--aog-blue) !important;
}

.aog-auth-widget .aog-dropdown a svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    opacity: 0.6;
}

.aog-auth-widget .aog-dropdown-divider {
    height: 1px;
    background: #eee;
    margin: 4px 0;
}

.aog-auth-widget .aog-dropdown a.aog-logout {
    color: var(--aog-red) !important;
}

.aog-auth-widget .aog-dropdown a.aog-logout:hover {
    background: #fff5f5;
}

/* ════════════════════════════════════════════════════════
   EDIT FORMS (Account Tabs)
   ════════════════════════════════════════════════════════ */

.aog-edit-tab {
    padding: 10px 0;
}

.aog-edit-header h3 {
    font-size: 1.3rem;
    color: var(--aog-navy);
    margin: 0 0 8px;
    font-weight: 700;
}

.aog-edit-note {
    font-size: 0.88rem;
    color: var(--aog-gray);
    margin: 0 0 25px;
    line-height: 1.5;
}

.aog-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.aog-field {
    display: flex;
    flex-direction: column;
}

.aog-field-full {
    grid-column: 1 / -1;
}

.aog-field label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--aog-navy);
    margin-bottom: 6px;
}

.aog-field label .required {
    color: var(--aog-red);
}

.aog-field input[type="text"],
.aog-field input[type="email"],
.aog-field input[type="url"],
.aog-field input[type="tel"],
.aog-field select,
.aog-field textarea {
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.92rem;
    font-family: inherit;
    color: var(--aog-text);
    background: #fff;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
}

.aog-field input:focus,
.aog-field select:focus,
.aog-field textarea:focus {
    border-color: var(--aog-blue);
    box-shadow: 0 0 0 3px rgba(2, 109, 184, 0.1);
}

.aog-field textarea {
    resize: vertical;
    min-height: 80px;
}

.aog-field-hint {
    font-size: 0.78rem;
    color: var(--aog-gray-light);
    margin-top: 4px;
}

.aog-field-hint-inline {
    font-size: 0.78rem;
    color: var(--aog-gray-light);
    font-weight: 400;
}

.aog-ecp-tag {
    font-size: 0.7rem;
    background: #e8f4ff;
    color: var(--aog-blue);
    padding: 2px 8px;
    border-radius: 3px;
    font-weight: 600;
    margin-left: 6px;
}

/* Logo upload */
.aog-logo-upload {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.aog-logo-preview {
    width: 100px;
    height: 100px;
    border: 1px dashed #d1d5db;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fafafa;
}

.aog-logo-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.aog-logo-placeholder-text {
    font-size: 0.75rem;
    color: var(--aog-gray-light);
    text-align: center;
    padding: 10px;
}

.aog-upload-btn,
.aog-remove-btn {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    border: 1px solid #d1d5db;
    background: #fff;
    color: var(--aog-text);
    transition: all 0.2s;
}

.aog-upload-btn:hover {
    background: var(--aog-blue-bg);
    border-color: var(--aog-blue);
    color: var(--aog-blue);
}

.aog-remove-btn {
    color: var(--aog-red);
    border-color: var(--aog-red);
}

.aog-remove-btn:hover {
    background: #fff5f5;
}

/* Checkbox grid */
.aog-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 8px;
}

.aog-checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--aog-bg);
    border-radius: 6px;
    font-size: 0.88rem;
    cursor: pointer;
    transition: background 0.15s;
    font-weight: 400 !important;
    color: var(--aog-text) !important;
}

.aog-checkbox-item:hover {
    background: var(--aog-blue-bg);
}

.aog-checkbox-item input {
    accent-color: var(--aog-blue);
}

/* File upload row */
.aog-file-upload-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.aog-file-url-input {
    flex: 1;
}

.aog-upload-file-btn {
    white-space: nowrap;
}

.aog-preview-link {
    font-size: 0.82rem;
    color: var(--aog-blue);
    text-decoration: none;
    white-space: nowrap;
}

.aog-preview-link:hover {
    text-decoration: underline;
}

/* Regional contacts rows */
.aog-regional-contact-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr;
    gap: 10px;
    margin-bottom: 10px;
}

.aog-regional-contact-row select,
.aog-regional-contact-row input {
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.88rem;
    font-family: inherit;
    outline: none;
}

.aog-regional-contact-row select:focus,
.aog-regional-contact-row input:focus {
    border-color: var(--aog-blue);
}

/* Save button */
.aog-form-actions {
    margin-top: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.aog-save-btn {
    padding: 12px 28px;
    background: var(--aog-blue);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s;
}

.aog-save-btn:hover {
    background: var(--aog-blue-dark);
}

.aog-save-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.aog-save-status {
    font-size: 0.88rem;
    color: var(--aog-green);
}

.aog-save-status.error {
    color: var(--aog-red);
}

/* ── Actions Tab ────────────────────────────────────── */

.aog-status-bar {
    display: flex;
    gap: 25px;
    padding: 18px 22px;
    background: var(--aog-bg);
    border-radius: 8px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.aog-status-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.aog-status-label {
    font-size: 0.88rem;
    color: var(--aog-gray);
}

.aog-status-badge {
    font-size: 0.82rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 5px;
}

.aog-status-certified {
    background: var(--aog-green-bg);
    color: var(--aog-green);
}

.aog-status-pending {
    background: #fff8e1;
    color: #b8860b;
}

.aog-status-paused {
    background: #fff0f0;
    color: var(--aog-red);
}

.aog-status-active {
    background: var(--aog-green-bg);
    color: var(--aog-green);
}

.aog-actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.aog-action-request-btn {
    padding: 14px 18px;
    background: #fff;
    border: 1px solid var(--aog-border);
    border-radius: 8px;
    font-size: 0.88rem;
    color: var(--aog-text-dark);
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    text-align: left;
}

.aog-action-request-btn:hover {
    background: var(--aog-blue-bg);
    border-color: var(--aog-blue);
    color: var(--aog-blue);
}

.aog-action-request-btn.sent {
    background: var(--aog-green-bg);
    border-color: var(--aog-green);
    color: var(--aog-green);
    cursor: default;
}

.aog-other-request {
    margin-top: 15px;
    padding: 20px;
    background: var(--aog-bg);
    border-radius: 8px;
}

.aog-other-request label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--aog-navy);
    display: block;
    margin-bottom: 8px;
}

.aog-other-request textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.9rem;
    resize: vertical;
    margin-bottom: 12px;
    outline: none;
}

.aog-other-request textarea:focus {
    border-color: var(--aog-blue);
}

/* Info boxes */
.aog-info-box {
    padding: 20px;
    background: var(--aog-blue-bg);
    border-radius: 8px;
    border: 1px solid #d0e4f7;
    margin-bottom: 15px;
}

.aog-info-box h4 {
    font-size: 0.95rem;
    color: var(--aog-navy);
    margin: 0 0 10px;
}

.aog-info-box ul {
    margin: 0;
    padding-left: 20px;
}

.aog-info-box li {
    font-size: 0.88rem;
    color: #555;
    margin-bottom: 6px;
    line-height: 1.5;
}

.aog-info-box-coming {
    background: #faf8ff;
    border-color: #e0d8f0;
}

/* ════════════════════════════════════════════════════════
   TOAST NOTIFICATION
   ════════════════════════════════════════════════════════ */

.aog-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--aog-navy);
    color: #fff;
    padding: 14px 22px;
    border-radius: 8px;
    font-size: 0.9rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    z-index: 99999;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s;
    max-width: 400px;
}

.aog-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.aog-toast.success {
    background: var(--aog-green);
}

.aog-toast.error {
    background: var(--aog-red);
}

/* ════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════ */

@media (max-width: 900px) {
    .sp-grid {
        grid-template-columns: 1fr;
    }
    .aog-form-grid {
        grid-template-columns: 1fr;
    }
    .aog-actions-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {
    .sp-header-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .sp-regions {
        justify-content: center;
    }

    .sp-actions {
        width: 100%;
    }

    .sp-actions .sp-btn {
        width: 100%;
    }

    .sp-name {
        font-size: 1.6rem;
    }

    .sp-socials {
        justify-content: center;
    }

    .aog-file-upload-row {
        flex-direction: column;
        align-items: stretch;
    }

    .aog-regional-contact-row {
        grid-template-columns: 1fr;
    }

    .aog-message-row {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .aog-auth-widget .aog-user-info {
        display: none;
    }
    .aog-auth-widget .aog-user-toggle {
        padding: 6px;
    }
    .aog-auth-widget a.aog-btn-login,
    .aog-auth-widget a.aog-btn-register {
        padding: 8px 14px;
        font-size: 13px;
    }
}
