/* GetOn - Premium Dark Theme (KYC-Matched) */

:root {
    --bg: #0b1220;
    --bg-card: #111a2e;
    --card: #111a2e;
    --bg-input: #0a0f1a;
    --bg-hover: rgba(94, 234, 212, 0.05);
    --text: #eef2ff;
    --text-secondary: #8ea0c2;
    --muted: #8ea0c2;
    --text-muted: #8ea0c2;
    --line: #23304f;
    --accent: #5eead4;
    --accent-hover: #7cf3df;
    --accent-light: rgba(94, 234, 212, 0.1);
    --success: #34d399;
    --ok: #34d399;
    --success-light: rgba(52, 211, 153, 0.1);
    --warning: #fbbf24;
    --warning-light: rgba(251, 191, 36, 0.1);
    --error: #fb7185;
    --danger: #fb7185;
    --error-light: rgba(251, 113, 133, 0.1);
    --border: #23304f;
    --shadow: rgba(0, 0, 0, 0.4);
    --radius: 16px;
    --radius-sm: 10px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 2rem;
}

.logo {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -1px;
}

.tagline {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-top: 0.5rem;
}

/* Progress Steps */
.steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--border);
    z-index: 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
    flex: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.step.active .step-number,
.step.completed .step-number {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg);
}

.step.completed .step-number {
    background: var(--success);
    border-color: var(--success);
}

.step-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
}

.step.active .step-label {
    color: var(--text);
    font-weight: 500;
}

/* Cards */
.card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 1.75rem;
    margin-bottom: 1.25rem;
    border: 1px solid var(--border);
    box-shadow: 0 12px 40px var(--shadow);
}

.card h2 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.card-header-row h2 {
    margin-bottom: 0;
}

.card-header-row .subtitle {
    margin-bottom: 0;
    margin-top: 0.25rem;
}

/* Start Over Button - Plum Theme */
.btn-reset {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-reset:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.4);
    color: #c4b5fd;
}

.btn-reset:active {
    transform: scale(0.98);
}

.btn-reset svg {
    opacity: 0.7;
}

.btn-reset:hover svg {
    opacity: 1;
}

.card h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.subtitle {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 14px;
}

/* Buttons - KYC Style */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    gap: 8px;
    transition: all 0.2s;
}

.btn:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary, .btn-accent {
    background: rgba(94, 234, 212, 0.15);
    border-color: rgba(94, 234, 212, 0.4);
    color: #d0fff8;
}

.btn-primary:hover, .btn-accent:hover {
    background: rgba(94, 234, 212, 0.25);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
}

.btn-success {
    background: rgba(52, 211, 153, 0.15);
    border-color: rgba(52, 211, 153, 0.4);
    color: #a7f3d0;
}

.btn-success:hover {
    background: rgba(52, 211, 153, 0.25);
}

.btn-warning {
    background: rgba(251, 191, 36, 0.15);
    border-color: rgba(251, 191, 36, 0.4);
    color: #fde047;
}

.btn-warning:hover {
    background: rgba(251, 191, 36, 0.25);
}

.btn-danger {
    background: rgba(251, 113, 133, 0.15);
    border-color: rgba(251, 113, 133, 0.4);
    color: #fecdd3;
}

.btn-danger:hover {
    background: rgba(251, 113, 133, 0.25);
}

.btn-error {
    background: rgba(251, 113, 133, 0.15);
    border-color: rgba(251, 113, 133, 0.4);
    color: #fecdd3;
}

.btn-error:hover {
    background: rgba(251, 113, 133, 0.25);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-sm {
    padding: 8px 12px;
    font-size: 12px;
}

.btn-outline {
    background: transparent;
    border: 1px dashed rgba(94, 234, 212, 0.4);
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
}

.btn-outline:hover {
    background: rgba(94, 234, 212, 0.1);
    border-style: solid;
}

/* Bank Account Form Entry */
.bank-account-entry {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    position: relative;
}

.bank-account-entry-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.bank-account-entry-title {
    font-weight: 600;
    color: var(--accent);
    font-size: 0.9rem;
}

.bank-account-remove {
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    font-size: 1.25rem;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}

.bank-account-remove:hover {
    color: var(--danger);
}

.bank-account-fields {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.bank-account-fields .contact-field {
    margin-bottom: 0;
}

.bank-account-fields .full-width {
    grid-column: 1 / -1;
}

.bank-account-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    grid-column: 1 / -1;
}

.bank-account-checkbox input[type="checkbox"] {
    width: auto;
}

.bank-account-checkbox label {
    margin: 0;
    font-size: 0.9rem;
}

/* Search Box */
.search-box {
    display: flex;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.search-box input {
    flex: 1;
}

/* Inputs */
input, select, textarea {
    width: 100%;
    padding: 12px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 14px;
    transition: all 0.2s ease;
    outline: none;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
}

input::placeholder {
    color: var(--text-muted);
}

/* Results List - Company Search Results */
.results-list {
    max-height: 500px;
    overflow-y: auto;
}

.result-item {
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: rgba(0, 0, 0, 0.2);
}

.result-item:hover {
    border-color: var(--accent);
    background: var(--bg-hover);
}

.result-item.selected {
    border-color: var(--accent);
    background: var(--accent-light);
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.result-name {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text);
}

.result-number {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 500;
}

.result-address {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.result-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-active {
    background: var(--success-light);
    color: var(--success);
    border: 1px solid rgba(52, 211, 153, 0.3);
}

.status-dissolved, .status-liquidation {
    background: var(--error-light);
    color: var(--error);
    border: 1px solid rgba(251, 113, 133, 0.3);
}

/* Company Details Grid */
.details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.detail-item {
    padding: 14px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-sm);
}

.detail-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.detail-value {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}

.detail-item.full-width {
    grid-column: 1 / -1;
}

/* Officers List */
.officers-list {
    display: grid;
    gap: 10px;
}

.officer-item {
    padding: 14px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--accent);
}

.officer-name {
    font-weight: 600;
    margin-bottom: 4px;
}

.officer-role {
    font-size: 12px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.officer-details {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 6px;
}

/* Upload Zone - KYC Style */
.upload-zone {
    border: 2px dashed var(--line);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: transparent;
    margin-top: 8px;
}

.upload-zone:hover,
.upload-zone.dragover {
    border-color: var(--accent);
    background: rgba(94, 234, 212, 0.05);
}

.upload-zone svg,
.upload-zone .upload-icon-svg {
    width: 40px;
    height: 40px;
    stroke: var(--muted);
    margin-bottom: 12px;
}

.upload-zone:hover svg,
.upload-zone:hover .upload-icon-svg {
    stroke: var(--accent);
}

.upload-zone p,
.upload-zone-text {
    color: var(--muted);
    font-size: 13px;
    margin: 0;
}

.upload-zone-hint,
.upload-zone .hint {
    font-size: 11px;
    color: var(--muted);
    margin-top: 8px;
    opacity: 0.7;
}

.upload-browse {
    color: var(--accent);
    cursor: pointer;
    text-decoration: underline;
}

/* Upload Grid - Individual Categories */
.upload-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.upload-card {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
    transition: all 0.2s ease;
}

.upload-card:hover {
    border-color: var(--accent);
}

.upload-card.has-files {
    border-color: var(--success);
    background: rgba(52, 211, 153, 0.05);
}

.upload-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.upload-card-title {
    font-weight: 600;
    font-size: 13px;
    color: var(--accent);
}

.upload-card-count {
    background: var(--accent);
    color: var(--bg);
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}

.upload-card-hint {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.upload-card-dropzone {
    border: 2px dashed var(--border);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.upload-card-dropzone:hover {
    border-color: var(--accent);
    background: var(--bg-hover);
}

.upload-card-dropzone.dragover {
    border-color: var(--accent);
    background: var(--accent-light);
}

.upload-card-dropzone svg {
    width: 28px;
    height: 28px;
    stroke: var(--text-muted);
    margin-bottom: 6px;
}

.upload-card-dropzone p {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
}

/* File Preview List - KYC Style */
.file-preview-list {
    margin-top: 16px;
}

.file-preview-list h3 {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.file-preview-item,
.file-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    margin-bottom: 8px;
    border: 1px solid var(--line);
}

.file-preview-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.file-preview-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.file-preview-thumb .file-icon {
    font-size: 28px;
}

.file-preview-thumb:hover::after {
    content: 'View';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: var(--accent);
    border-radius: 8px;
}

.file-preview-info {
    flex: 1;
    min-width: 0;
}

.file-preview-name {
    font-size: 13px;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.file-preview-size {
    font-size: 10px;
    color: var(--muted);
}

.file-preview-info select {
    margin-top: 8px;
    padding: 8px 12px;
    font-size: 12px;
    background: var(--bg-input);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.file-preview-remove,
.file-item .remove {
    color: var(--danger);
    cursor: pointer;
    font-size: 18px;
    padding: 6px;
    opacity: 0.7;
    transition: all 0.2s;
    margin-left: auto;
}

.file-preview-remove:hover,
.file-item .remove:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Document Categories Labels */
.doc-category-badge {
    display: inline-block;
    padding: 4px 10px;
    background: var(--accent-light);
    border: 1px solid rgba(94, 234, 212, 0.3);
    border-radius: 6px;
    font-size: 11px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Review Section */
.review-section {
    margin-bottom: 24px;
}

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

.review-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.review-documents {
    display: grid;
    gap: 10px;
}

.review-doc-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-sm);
}

.review-doc-name {
    font-weight: 500;
    font-size: 13px;
}

.review-doc-file {
    font-size: 12px;
    color: var(--text-secondary);
}

.review-doc-actions {
    display: flex;
    gap: 6px;
}

/* Success Card */
.success-card {
    text-align: center;
    padding: 48px 24px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--bg);
    margin: 0 auto 24px;
}

.success-icon svg {
    width: 48px;
    height: 48px;
    stroke: var(--bg);
    stroke-width: 2.5;
}

.success-card h2 {
    color: var(--success);
    margin-bottom: 12px;
}

.success-card p {
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.reference {
    margin-top: 24px;
    margin-bottom: 32px;
}

/* Actions Bar */
.actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

/* Loading */
.loading {
    text-align: center;
    padding: 40px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* No Results */
.no-results {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
}

/* Hidden */
.hidden {
    display: none !important;
}

/* Step Content */
.step-content {
    animation: fadeIn 0.3s ease;
}

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

/* Alert Messages */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    font-size: 14px;
}

.alert.error {
    background: var(--error-light);
    border: 1px solid rgba(251, 113, 133, 0.3);
    color: #fecdd3;
}

.alert.success {
    background: var(--success-light);
    border: 1px solid rgba(52, 211, 153, 0.3);
    color: #a7f3d0;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 16px;
    }

    .steps {
        flex-wrap: wrap;
        gap: 16px;
    }

    .steps::before {
        display: none;
    }

    .step {
        flex: 0 0 calc(50% - 8px);
    }

    .search-box {
        flex-direction: column;
    }

    .details-grid,
    .review-grid,
    .upload-grid {
        grid-template-columns: 1fr;
    }

    .actions {
        flex-direction: column-reverse;
    }

    .actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Admin Styles */
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.company-cards {
    display: grid;
    gap: 16px;
}

.company-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
}

.company-card-header {
    padding: 16px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.company-card-body {
    padding: 16px;
}

.company-card-footer {
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-pending {
    background: var(--warning-light);
    color: var(--warning);
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.badge-documents_uploaded {
    background: var(--accent-light);
    color: var(--accent);
    border: 1px solid rgba(94, 234, 212, 0.3);
}

.badge-under_review {
    background: rgba(168, 85, 247, 0.1);
    color: #c4b5fd;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.badge-approved {
    background: var(--success-light);
    color: var(--success);
    border: 1px solid rgba(52, 211, 153, 0.3);
}

.badge-rejected {
    background: var(--error-light);
    color: var(--error);
    border: 1px solid rgba(251, 113, 133, 0.3);
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 16px;
}

.modal {
    background: var(--bg-card);
    border-radius: var(--radius);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid var(--border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 18px;
}

.modal-body {
    padding: 20px;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.modal-close:hover {
    color: var(--text);
}

/* Section Title */
.section-title {
    font-size: 12px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 24px 0 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.section-title:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

/* OR Divider - Clean Separator */
.or-divider {
    position: relative;
    text-align: center;
    margin: 3rem 0 1.5rem;
}

.or-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border);
    transform: translateY(-50%);
}

.or-divider span {
    position: relative;
    display: inline-block;
    padding: 0 1rem;
    background: var(--bg);
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Alternative Actions - Simple Equal Buttons */
.alternative-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    max-width: 400px;
    margin: 0 auto;
}

.btn-alt {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-alt:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent);
    transform: translateY(-1px);
}

.btn-alt:active {
    transform: translateY(0);
}

/* Contact Fields Grid - Step 2 */
.contact-fields-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-field label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.contact-field input {
    padding: 0.75rem 1rem;
}

/* Required Badge for Review */
.required-badge {
    display: inline-block;
    font-size: 9px;
    background: var(--error-light);
    color: var(--error);
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    vertical-align: middle;
}

/* Status badges for review */
.status-uploaded {
    color: var(--success);
    font-size: 12px;
    font-weight: 500;
}

.status-ready {
    color: #10b981;
    font-size: 12px;
    font-weight: 500;
}

.status-missing {
    color: var(--error);
    font-size: 12px;
    font-weight: 500;
}

.review-doc-item.missing {
    border-left: 3px solid var(--error);
}

/* Responsive - Mobile Optimization */
@media (max-width: 768px) {
    .container {
        padding: 12px;
    }

    .header {
        margin-bottom: 1.5rem;
    }

    .logo {
        font-size: 2rem;
    }

    .card {
        padding: 1.25rem;
        border-radius: 12px;
    }

    .card h2 {
        font-size: 1.2rem;
    }

    .contact-fields-grid {
        grid-template-columns: 1fr;
    }

    .alternative-actions {
        flex-direction: column;
        max-width: 100%;
    }

    .btn-alt {
        width: 100%;
        padding: 0.875rem 1.5rem;
    }

    .or-divider {
        margin: 2rem 0 1rem;
    }

    .or-divider span {
        font-size: 0.7rem;
        padding: 0 0.75rem;
    }

    /* Better touch targets */
    .btn {
        min-height: 44px;
        padding: 12px 16px;
    }

    input, select, textarea {
        min-height: 44px;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .result-item {
        padding: 14px;
    }

    .officer-item {
        padding: 12px;
    }

    .detail-item {
        padding: 12px;
    }

    /* Upload zone mobile */
    .upload-zone {
        padding: 24px 16px;
    }

    .file-preview-item {
        flex-wrap: wrap;
        gap: 10px;
    }

    .file-preview-info {
        flex: 1 1 100%;
        order: 2;
    }

    .file-preview-thumb {
        order: 1;
    }

    .file-preview-actions {
        order: 3;
        width: 100%;
        display: flex;
        gap: 8px;
    }

    .file-preview-actions .btn {
        flex: 1;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .steps {
        gap: 8px;
    }

    .step-number {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .step-label {
        font-size: 0.7rem;
    }

    .search-box {
        gap: 8px;
    }

    .alternative-actions {
        gap: 0.75rem;
    }

    .btn-alt {
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
    }
}

/* File preview actions */
.file-preview-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.file-preview-actions-all {
    margin-top: 1rem;
    text-align: center;
}

/* Uploaded documents list */
.uploaded-documents {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.uploaded-documents h3 {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.uploaded-doc-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(52, 211, 153, 0.05);
    border: 1px solid rgba(52, 211, 153, 0.2);
    border-radius: var(--radius-sm);
    margin-bottom: 0.5rem;
}

.uploaded-doc-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.uploaded-doc-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--success);
}

.uploaded-doc-info {
    flex: 1;
    min-width: 0;
}

.uploaded-doc-name {
    font-size: 0.85rem;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.uploaded-doc-type {
    font-size: 0.75rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.supplier-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border-radius: 4px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.doc-date-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 500;
    padding: 0.15rem 0.5rem;
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
    border-radius: 4px;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.uploaded-doc-actions {
    flex-shrink: 0;
}

/* File preview PDF indicator */
.file-preview-pdf {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(251, 113, 133, 0.1);
    color: var(--error);
    font-size: 0.7rem;
    font-weight: 700;
}

/* File category select in preview */
.file-preview-category {
    width: 100%;
    padding: 6px 10px;
    font-size: 11px;
}

/* Uploading state */
.file-preview-item.uploading {
    opacity: 0.6;
    pointer-events: none;
}

.file-preview-item.uploading::after {
    content: 'Uploading...';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 0.85rem;
    border-radius: 10px;
}

/* Alternative Actions - Two buttons */
.alt-actions {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.alt-actions .btn-alt {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.25rem;
    font-size: 0.9rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.alt-actions .btn-alt:hover {
    border-color: var(--accent);
    background: rgba(94, 234, 212, 0.05);
}

.alt-actions .btn-alt svg {
    width: 18px;
    height: 18px;
    opacity: 0.7;
}

.alt-actions .btn-alt:hover svg {
    opacity: 1;
}

/* Full width contact field */
.contact-field.full-width {
    grid-column: 1 / -1;
}

.contact-field textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    min-height: 80px;
    resize: vertical;
}

/* Mobile responsive for alt actions */
@media (max-width: 768px) {
    .alt-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

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

/* ========================================
   SHARE METHOD SELECTION
   ======================================== */

.share-method-selection {
    padding: 2rem;
}

.share-method-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
}

.share-method-card {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.share-method-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(94, 234, 212, 0.15);
}

.share-method-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background: var(--accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-method-icon svg {
    width: 32px;
    height: 32px;
    color: var(--accent);
}

.share-method-card h4 {
    color: var(--text);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.share-method-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.share-method-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.share-method-features li {
    color: var(--text-secondary);
    font-size: 0.85rem;
    padding: 0.35rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.share-method-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

/* ========================================
   LINK SHARE FLOW
   ======================================== */

.link-share-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}

.link-share-header {
    margin-bottom: 2rem;
}

.link-share-header .link-share-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: var(--accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.link-share-header .link-share-icon svg {
    width: 40px;
    height: 40px;
    color: var(--accent);
}

.link-share-header h3 {
    color: var(--text);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.link-share-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.link-share-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-input);
    border-radius: var(--radius-sm);
}

.link-share-info .info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
}

.link-share-info .info-item svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.link-share-info .info-item strong {
    display: block;
    color: var(--text);
    font-size: 0.95rem;
}

.link-share-info .info-item span {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.link-result-box {
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.link-result-box label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    text-align: left;
}

.link-input-group {
    display: flex;
    gap: 0.5rem;
}

.link-input-group input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 0.9rem;
}

.link-expires {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.link-expires svg {
    color: var(--warning);
}

.link-copied-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--success);
    color: #000;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    z-index: 1000;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.link-share-actions {
    margin-top: 2rem;
}

/* Active Share Badge */
.share-active-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--accent-light);
    border: 1px solid var(--accent);
    border-radius: var(--radius-sm);
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 500;
}

.share-active-badge svg {
    width: 16px;
    height: 16px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.share-active-indicator {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--accent-light);
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}

.share-active-indicator .indicator-icon {
    width: 32px;
    height: 32px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-active-indicator .indicator-icon svg {
    width: 18px;
    height: 18px;
    color: #000;
}

.share-active-indicator .indicator-text {
    flex: 1;
}

.share-active-indicator .indicator-text strong {
    display: block;
    color: var(--text);
    font-size: 0.9rem;
}

.share-active-indicator .indicator-text span {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.share-active-indicator .indicator-actions {
    display: flex;
    gap: 0.5rem;
}

.share-active-indicator .btn-sm {
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
}

/* Card Share Indicator */
.company-card {
    position: relative;
}

.company-card.has-active-share {
    border: 1px solid var(--accent);
}

.card-share-indicator {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 28px;
    height: 28px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    animation: pulse 2s infinite;
}

.card-share-indicator svg {
    width: 14px;
    height: 14px;
    color: #000;
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE FIRST
   ======================================== */

@media (max-width: 640px) {
    .share-method-cards {
        grid-template-columns: 1fr;
    }

    .share-method-card {
        padding: 1.5rem;
    }

    .link-share-container {
        padding: 1rem;
    }

    .link-share-header .link-share-icon {
        width: 60px;
        height: 60px;
    }

    .link-share-header .link-share-icon svg {
        width: 30px;
        height: 30px;
    }

    .link-input-group {
        flex-direction: column;
    }

    .link-input-group button {
        width: 100%;
    }

    .share-active-indicator {
        flex-direction: column;
        text-align: center;
    }

    .share-active-indicator .indicator-actions {
        width: 100%;
        justify-content: center;
    }
}
