/* ==========================================
   Panafro Services — Front-End Styles
   Modern, clean design with Panafro brand
   ========================================== */

:root {
    --pas-primary:       #2E7D32;
    --pas-primary-hover: #1B5E20;
    --pas-accent:        #E53935;
    --pas-bg:            #f8f9fa;
    --pas-bg-card:       #ffffff;
    --pas-border:        #e5e7eb;
    --pas-text:          #1f2937;
    --pas-text-muted:    #6b7280;
    --pas-radius:        12px;
    --pas-radius-sm:     8px;
    --pas-shadow:        0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --pas-shadow-lg:     0 10px 25px rgba(0,0,0,0.08);
    --pas-transition:    all 0.2s ease;
}

.pas-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--pas-text);
}

/* ==========================================
   REGISTRATION WIZARD
   ========================================== */
.pas-register-wrap {
    max-width: 800px;
    margin: 0 auto;
}

/* Steps indicator */
.pas-steps {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 32px;
    padding: 0 20px;
}

.pas-step {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 13px;
    color: var(--pas-text-muted);
    background: var(--pas-bg);
    transition: var(--pas-transition);
}

.pas-step.active {
    background: var(--pas-primary);
    color: #fff;
}

.pas-step.completed {
    background: rgba(46, 125, 50, 0.1);
    color: var(--pas-primary);
}

.pas-step-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    background: rgba(0,0,0,0.08);
}

.pas-step.active .pas-step-num {
    background: rgba(255,255,255,0.2);
}

.pas-step-label {
    font-weight: 600;
}

@media (max-width: 768px) {
    .pas-step-label { display: none; }
    .pas-steps { gap: 8px; }
}

/* Step content */
.pas-step-content {
    display: none;
}

.pas-step-content.active {
    display: block;
    animation: pasFadeIn 0.3s ease;
}

@keyframes pasFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ==========================================
   FORM CARD
   ========================================== */
.pas-form-card {
    background: var(--pas-bg-card);
    border: 1px solid var(--pas-border);
    border-radius: var(--pas-radius);
    padding: 32px;
    margin-bottom: 20px;
    box-shadow: var(--pas-shadow);
}

.pas-form-card--narrow {
    max-width: 600px;
    margin: 0 auto;
}

.pas-form-card h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--pas-text);
}

/* ==========================================
   FORMS
   ========================================== */
.pas-form-group {
    margin-bottom: 16px;
}

.pas-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 600px) {
    .pas-form-row { grid-template-columns: 1fr; }
}

.pas-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--pas-text);
    margin-bottom: 6px;
}

.pas-input, .pas-select, .pas-textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--pas-border);
    border-radius: var(--pas-radius-sm);
    font-size: 14px;
    font-family: inherit;
    color: var(--pas-text);
    background: #fff;
    transition: var(--pas-transition);
}

.pas-input:focus, .pas-select:focus, .pas-textarea:focus {
    outline: none;
    border-color: var(--pas-primary);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.12);
}

.pas-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

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

.pas-input-file {
    font-size: 13px;
}

.pas-help-text {
    font-size: 12px;
    color: var(--pas-text-muted);
    margin-top: 4px;
}

.pas-char-count {
    float: right;
    font-weight: 400;
    color: var(--pas-text-muted);
}

.pas-radio-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.pas-radio-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    cursor: pointer;
}

.pas-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: var(--pas-text-muted);
    cursor: pointer;
}

.pas-checkbox-label a {
    color: var(--pas-primary);
}

.pas-form-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 24px;
}

.pas-inline-form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.pas-inline-form .pas-input {
    flex: 1;
}

/* Error */
.pas-error {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    border-radius: var(--pas-radius-sm);
    padding: 12px 16px;
    color: #DC2626;
    font-size: 13px;
    margin: 12px 0;
}

/* Notice */
.pas-notice {
    padding: 14px 20px;
    border-radius: var(--pas-radius-sm);
    font-size: 14px;
    margin-bottom: 20px;
}

.pas-notice--warning { background: #FFFBEB; border: 1px solid #FDE68A; color: #92400E; }
.pas-notice--success { background: #F0FDF4; border: 1px solid #BBF7D0; color: #166534; }
.pas-notice--info    { background: #EFF6FF; border: 1px solid #BFDBFE; color: #1E40AF; }
.pas-notice--error   { background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; }

.pas-notice a { color: inherit; font-weight: 600; }

/* ==========================================
   BUTTONS
   ========================================== */
.pas-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    border: 1px solid transparent;
    border-radius: var(--pas-radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--pas-transition);
    text-decoration: none;
    font-family: inherit;
    line-height: 1.4;
}

.pas-btn-primary {
    background: var(--pas-primary);
    color: #fff;
}

.pas-btn-primary:hover {
    background: var(--pas-primary-hover);
    color: #fff;
}

.pas-btn-outline {
    background: transparent;
    border-color: var(--pas-border);
    color: var(--pas-text);
}

.pas-btn-outline:hover {
    background: var(--pas-bg);
    border-color: #d1d5db;
}

.pas-btn-block { width: 100%; }
.pas-btn-sm { padding: 6px 14px; font-size: 13px; }

.pas-btn-danger {
    background: #FEF2F2;
    color: #DC2626;
    border-color: #FECACA;
}

.pas-btn-danger:hover {
    background: #DC2626;
    color: #fff;
}

/* ==========================================
   PLANS
   ========================================== */
.pas-plans-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 24px 0;
}

@media (max-width: 600px) {
    .pas-plans-grid { grid-template-columns: 1fr; }
}

.pas-plan-card {
    background: var(--pas-bg-card);
    border: 2px solid var(--pas-border);
    border-radius: var(--pas-radius);
    padding: 28px;
    text-align: center;
    transition: var(--pas-transition);
    position: relative;
}

.pas-plan-card:hover {
    border-color: var(--pas-primary);
    box-shadow: var(--pas-shadow-lg);
}

.pas-plan-card--popular {
    border-color: var(--pas-primary);
}

.pas-plan-popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--pas-primary);
    color: #fff;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.pas-plan-badge {
    font-size: 14px;
    font-weight: 600;
    color: var(--pas-text-muted);
    margin-bottom: 12px;
}

.pas-plan-amount {
    font-size: 36px;
    font-weight: 800;
    color: var(--pas-text);
}

.pas-plan-currency {
    font-size: 14px;
    color: var(--pas-text-muted);
}

.pas-plan-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.pas-plan-features li {
    padding: 6px 0;
    font-size: 14px;
    color: var(--pas-text-muted);
}

.pas-plan-features li::before {
    content: '✓';
    color: var(--pas-primary);
    font-weight: 700;
    margin-right: 8px;
}

/* ==========================================
   PAYMENT METHODS
   ========================================== */
.pas-payment-methods {
    display: grid;
    gap: 12px;
    margin: 20px 0;
}

.pas-payment-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border: 2px solid var(--pas-border);
    border-radius: var(--pas-radius-sm);
    background: var(--pas-bg-card);
    cursor: pointer;
    transition: var(--pas-transition);
    text-align: left;
    font-family: inherit;
}

.pas-payment-option:hover,
.pas-payment-option.selected {
    border-color: var(--pas-primary);
    background: rgba(46, 125, 50, 0.04);
}

.pas-payment-icon {
    font-size: 24px;
}

.pas-payment-info strong {
    display: block;
    font-size: 14px;
}

.pas-payment-info span {
    font-size: 12px;
    color: var(--pas-text-muted);
}

/* ==========================================
   SUCCESS PAGE
   ========================================== */
.pas-success-page,
.pas-text-center {
    text-align: center;
    padding: 48px 20px;
}

.pas-success-icon {
    margin-bottom: 20px;
}

/* ==========================================
   DASHBOARD
   ========================================== */
.pas-dashboard {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 24px;
    min-height: 400px;
}

@media (max-width: 768px) {
    .pas-dashboard { grid-template-columns: 1fr; }
}

.pas-dash-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

@media (max-width: 768px) {
    .pas-dash-nav { flex-direction: row; overflow-x: auto; }
}

.pas-dash-nav-item {
    padding: 10px 16px;
    border-radius: var(--pas-radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--pas-text-muted);
    text-decoration: none;
    transition: var(--pas-transition);
    white-space: nowrap;
}

.pas-dash-nav-item:hover {
    background: var(--pas-bg);
    color: var(--pas-text);
}

.pas-dash-nav-item.active {
    background: rgba(46, 125, 50, 0.08);
    color: var(--pas-primary);
    font-weight: 600;
}

.pas-dash-content {
    min-width: 0;
}

.pas-dash-tab {
    display: none;
}

.pas-dash-tab.active {
    display: block;
}

.pas-dash-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 20px;
}

/* KPI mini row */
.pas-kpi-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin: 20px 0;
}

.pas-kpi-mini {
    background: var(--pas-bg-card);
    border: 1px solid var(--pas-border);
    border-radius: var(--pas-radius-sm);
    padding: 16px;
    text-align: center;
}

.pas-kpi-mini-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--pas-text);
}

.pas-kpi-mini-label {
    font-size: 12px;
    color: var(--pas-text-muted);
    margin-top: 4px;
}

/* Stats grid */
.pas-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.pas-stat-card {
    background: var(--pas-bg-card);
    border: 1px solid var(--pas-border);
    border-radius: var(--pas-radius-sm);
    padding: 20px;
    text-align: center;
}

.pas-stat-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--pas-primary);
}

.pas-stat-label {
    font-size: 12px;
    color: var(--pas-text-muted);
}

/* Services list */
.pas-services-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pas-service-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--pas-bg-card);
    border: 1px solid var(--pas-border);
    border-radius: var(--pas-radius-sm);
}

.pas-service-item div {
    display: flex;
    flex-direction: column;
}

/* Subscription card */
.pas-sub-card {
    background: var(--pas-bg-card);
    border: 1px solid var(--pas-border);
    border-radius: var(--pas-radius-sm);
    padding: 20px;
    margin-bottom: 20px;
}

.pas-sub-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

/* Simple table */
.pas-table-simple {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
}

.pas-table-simple th {
    text-align: left;
    padding: 10px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--pas-text-muted);
    border-bottom: 1px solid var(--pas-border);
}

.pas-table-simple td {
    padding: 10px 12px;
    font-size: 13px;
    border-bottom: 1px solid var(--pas-border);
}

/* RGPD section */
.pas-rgpd-section {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--pas-border);
}

.pas-rgpd-section h3 {
    font-size: 16px;
    margin-bottom: 12px;
}

.pas-rgpd-section .pas-btn {
    margin-right: 8px;
}

/* ==========================================
   DIRECTORY
   ========================================== */
.pas-directory-header {
    text-align: center;
    margin-bottom: 28px;
}

.pas-directory-header h1 {
    font-size: 32px;
    font-weight: 800;
    color: var(--pas-text);
}

.pas-directory-header p {
    color: var(--pas-text-muted);
    font-size: 16px;
}

.pas-directory-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    padding: 16px 20px;
    background: var(--pas-bg-card);
    border: 1px solid var(--pas-border);
    border-radius: var(--pas-radius);
}

.pas-directory-filters .pas-select,
.pas-directory-filters .pas-input {
    flex: 1;
    min-width: 140px;
}

.pas-results-count {
    font-size: 14px;
    color: var(--pas-text-muted);
    margin-bottom: 16px;
}

/* Providers grid */
.pas-providers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.pas-provider-card {
    background: var(--pas-bg-card);
    border: 1px solid var(--pas-border);
    border-radius: var(--pas-radius);
    padding: 24px;
    transition: var(--pas-transition);
    position: relative;
}

.pas-provider-card:hover {
    box-shadow: var(--pas-shadow-lg);
    transform: translateY(-2px);
}

.pas-provider-card--featured {
    border-color: #F59E0B;
}

.pas-card-featured-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #FEF3C7;
    color: #92400E;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}

.pas-card-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 12px;
}

.pas-card-logo img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--pas-radius-sm);
}

.pas-card-logo-placeholder {
    width: 60px;
    height: 60px;
    border-radius: var(--pas-radius-sm);
    background: rgba(46, 125, 50, 0.1);
    color: var(--pas-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
}

.pas-card-logo-placeholder--lg {
    width: 80px;
    height: 80px;
    font-size: 32px;
}

.pas-card-name {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 4px;
}

.pas-card-location {
    font-size: 13px;
    color: var(--pas-text-muted);
    margin: 0 0 8px;
}

.pas-card-category {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(46, 125, 50, 0.08);
    color: var(--pas-primary);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.pas-card-description {
    font-size: 14px;
    color: var(--pas-text-muted);
    line-height: 1.5;
    margin: 0 0 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pas-card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    border-top: 1px solid var(--pas-border);
    padding-top: 12px;
}

.pas-card-action {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--pas-transition);
    text-decoration: none;
}

.pas-card-action--wa {
    background: #E8F5E9;
    color: #25D366;
}

.pas-card-action--wa:hover {
    background: #25D366;
    color: #fff;
}

.pas-card-action--email {
    background: #E3F2FD;
    color: #1976D2;
}

.pas-card-action--email:hover {
    background: #1976D2;
    color: #fff;
}

.pas-card-actions .pas-btn {
    margin-left: auto;
}

/* No results */
.pas-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px 20px;
    color: var(--pas-text-muted);
}

/* Pagination */
.pas-directory-pagination {
    display: flex;
    justify-content: center;
    gap: 4px;
}

.pas-pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--pas-radius-sm);
    font-size: 14px;
    color: var(--pas-text-muted);
    text-decoration: none;
    transition: var(--pas-transition);
}

.pas-pagination-link:hover {
    background: var(--pas-bg);
}

.pas-pagination-link.active {
    background: var(--pas-primary);
    color: #fff;
}

/* ==========================================
   SINGLE PROVIDER PAGE
   ========================================== */
.pas-single-provider {
    max-width: 1000px;
}

.pas-provider-header {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--pas-border);
}

.pas-provider-logo {
    width: 80px;
    height: 80px;
    border-radius: var(--pas-radius);
    object-fit: cover;
}

.pas-provider-info h1 {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 4px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pas-provider-location {
    font-size: 15px;
    color: var(--pas-text-muted);
    margin: 0 0 8px;
}

.pas-provider-views {
    font-size: 13px;
    color: var(--pas-text-muted);
    margin-top: 8px;
}

.pas-provider-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 28px;
}

@media (max-width: 768px) {
    .pas-provider-grid { grid-template-columns: 1fr; }
}

.pas-section {
    margin-bottom: 28px;
}

.pas-section h2 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--pas-border);
}

.pas-provider-description {
    font-size: 15px;
    line-height: 1.7;
    color: var(--pas-text);
}

/* Gallery */
.pas-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}

.pas-gallery-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: var(--pas-radius-sm);
}

/* Video */
.pas-video iframe {
    width: 100%;
    border-radius: var(--pas-radius-sm);
    aspect-ratio: 16/9;
}

/* Sidebar cards */
.pas-sidebar-card {
    background: var(--pas-bg-card);
    border: 1px solid var(--pas-border);
    border-radius: var(--pas-radius);
    padding: 20px;
    margin-bottom: 16px;
}

.pas-sidebar-card h3 {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 16px;
}

/* Contact buttons */
.pas-contact-btn {
    display: block;
    width: 100%;
    padding: 10px 16px;
    border-radius: var(--pas-radius-sm);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    margin-bottom: 8px;
    transition: var(--pas-transition);
}

.pas-contact-btn--wa    { background: #E8F5E9; color: #25D366; }
.pas-contact-btn--wa:hover { background: #25D366; color: #fff; }
.pas-contact-btn--email { background: #E3F2FD; color: #1976D2; }
.pas-contact-btn--email:hover { background: #1976D2; color: #fff; }
.pas-contact-btn--phone { background: #F3F4F6; color: var(--pas-text); }
.pas-contact-btn--phone:hover { background: #E5E7EB; }
.pas-contact-btn--web   { background: #FEF3C7; color: #92400E; }
.pas-contact-btn--web:hover { background: #F59E0B; color: #fff; }

/* Info list */
.pas-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pas-info-list li {
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--pas-border);
}

.pas-info-list li:last-child {
    border-bottom: none;
}

/* Social links */
.pas-social-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.pas-social-link {
    padding: 6px 14px;
    background: var(--pas-bg);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--pas-text-muted);
    text-decoration: none;
    transition: var(--pas-transition);
}

.pas-social-link:hover {
    background: var(--pas-primary);
    color: #fff;
}

/* Badge */
.pas-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.pas-badge--active    { background: #D1FAE5; color: #065F46; }
.pas-badge--pending   { background: #FEF3C7; color: #92400E; }
.pas-badge--suspended { background: #FEE2E2; color: #991B1B; }
.pas-badge--expired   { background: #F3F4F6; color: #6B7280; }
.pas-badge--featured  { background: #FEF3C7; color: #92400E; }
.pas-badge--category  { background: rgba(46, 125, 50, 0.08); color: var(--pas-primary); }

/* Toast */
.pas-toast-front {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 12px 20px;
    border-radius: var(--pas-radius-sm);
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: var(--pas-primary);
    z-index: 99999;
    animation: pasFadeIn 0.3s ease;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* Utility */
.pas-text-muted { color: var(--pas-text-muted); font-size: 14px; }

/* ==========================================
   PHONE DIAL CODE
   ========================================== */

.pas-phone-wrapper {
    display: flex;
    align-items: center;
    position: relative;
}

.pas-phone-dial-code {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--pas-text-muted);
    background: var(--pas-bg);
    border: 1px solid var(--pas-border);
    border-right: none;
    border-radius: var(--pas-radius-sm) 0 0 var(--pas-radius-sm);
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}

.pas-phone-input-with-dial {
    padding-left: 4rem !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.pas-phone-wrapper:focus-within .pas-phone-dial-code {
    border-color: var(--pas-primary);
}

.pas-phone-wrapper:has(.pas-input--error) .pas-phone-dial-code {
    border-color: var(--pas-accent);
}

/* ==========================================
   IMAGE UPLOAD ZONE (DSD style)
   ========================================== */

.pas-upload-zone {
    position: relative;
    border: 2px dashed var(--pas-border);
    border-radius: var(--pas-radius-sm);
    background: #fff;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    overflow: hidden;
}

.pas-upload-zone:hover {
    border-color: var(--pas-primary);
    background: rgba(46, 125, 50, 0.02);
}

.pas-upload-zone.dragover {
    border-color: var(--pas-primary);
    background: rgba(46, 125, 50, 0.05);
    box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.08);
}

.pas-upload-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.pas-upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px;
    text-align: center;
    pointer-events: none;
}

.pas-upload-placeholder svg {
    color: #d1d5db;
}

.pas-upload-placeholder span {
    font-size: 14px;
    font-weight: 500;
    color: var(--pas-text-muted);
}

.pas-upload-placeholder small {
    font-size: 12px;
    color: #9ca3af;
}

/* Preview — single image */
.pas-upload-preview {
    display: none;
    width: 100%;
    height: 100%;
    min-height: 160px;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.pas-upload-preview.has-image {
    display: flex;
}

.pas-upload-preview.has-image + .pas-upload-placeholder {
    display: none;
}

.pas-upload-preview img {
    max-height: 140px;
    max-width: 100%;
    object-fit: contain;
    border-radius: 4px;
}

/* Preview — multi grid */
.pas-upload-preview--grid {
    display: none;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px;
    align-items: flex-start;
    justify-content: flex-start;
}

.pas-upload-preview--grid.has-image {
    display: flex;
}

.pas-upload-preview--grid img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--pas-border);
}

/* Remove button */
.pas-upload-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 3;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #ef4444;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    line-height: 1;
}

.pas-upload-remove:hover {
    background: #ef4444;
    color: #fff;
}

/* Label uppercase for upload sections */
.pas-upload-zone + .pas-help-text {
    margin-top: 6px;
}
