/* ===============================================
   BeldSign DocuSign-Inspired Theme
   Bootstrap-based design system
   =============================================== */

:root {
    /* DocuSign-inspired color palette */
    --ds-primary: #513795;
    --ds-primary-hover: #3d2771;
    --ds-primary-dark: #2d1d54;
    --ds-accent: #ffc107;
    --ds-accent-hover: #ffb300;
    --ds-secondary: #212529;
    --ds-success: #28a745;
    --ds-danger: #dc3545;
    --ds-info: #17a2b8;
    
    /* Neutral colors */
    --ds-gray-50: #f8f9fa;
    --ds-gray-100: #f0f2f5;
    --ds-gray-200: #e9ecef;
    --ds-gray-300: #dee2e6;
    --ds-gray-400: #ced4da;
    --ds-gray-500: #adb5bd;
    --ds-gray-600: #6c757d;
    --ds-gray-700: #495057;
    --ds-gray-800: #343a40;
    --ds-gray-900: #212529;
    
    /* Typography */
    --ds-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --ds-font-size-base: 14px;
    
    /* Spacing */
    --ds-header-height: 60px;
    --ds-toolbar-height: 50px;
    --ds-sidebar-width: 320px;
    
    /* Shadows */
    --ds-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --ds-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --ds-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --ds-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    
    /* Border radius */
    --ds-radius-sm: 4px;
    --ds-radius: 6px;
    --ds-radius-lg: 8px;
    --ds-radius-xl: 12px;
}

/* ===============================================
   Global Styles
   =============================================== */

html, body {
    margin: 0;
    padding: 0;
    font-family: var(--ds-font-family);
    font-size: var(--ds-font-size-base);
    background-color: var(--ds-gray-100);
    height: 100vh;
    overflow: hidden;
}

* {
    box-sizing: border-box;
}

/* Force iframes to use light theme */
iframe {
    color-scheme: light !important;
    background-color: white !important;
}

.pdf-viewer-frame {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    color-scheme: light !important;
    background: white !important;
}

/* ===============================================
   DocuSign-Style Header
   =============================================== */

.ds-header {
    height: var(--ds-header-height);
    background-color: var(--ds-primary);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: var(--ds-shadow-sm);
}

.ds-header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}

.ds-header-brand i {
    color: var(--ds-accent);
    font-size: 24px;
}

.ds-header-title {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    flex: 1;
    text-align: center;
}

.ds-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

.ds-btn-close {
    background-color: var(--ds-accent);
    color: var(--ds-gray-900);
    border: none;
    padding: 10px 24px;
    border-radius: var(--ds-radius);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

.ds-btn-close:hover {
    background-color: var(--ds-accent-hover);
}

.ds-btn-close:disabled {
    background-color: #9ca3af;
    color: #6b7280;
    cursor: not-allowed;
    opacity: 0.6;
}

.ds-btn-close:disabled:hover {
    background-color: #9ca3af;
}

.ds-btn-menu {
    background-color: transparent;
    color: #fff;
    border: none;
    padding: 8px;
    border-radius: var(--ds-radius);
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.ds-btn-menu:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* ===============================================
   Main Layout
   =============================================== */

.ds-main-container {
    display: flex;
    height: 100vh;
    padding-top: var(--ds-header-height);
}

.ds-content-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    background-color: #f3f4f6;
    padding-right: 0;
    margin-bottom: 48px;
}

/* ===============================================
   Document Viewer Area
   =============================================== */

.ds-document-viewer {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #f3f4f6;
    overflow-y: auto;
    position: relative;
    margin-right: 0;
    border-radius: 0;
}

.ds-viewer-toolbar {
    height: var(--ds-toolbar-height);
    background-color: #3e4245;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 0 20px;
}

.ds-toolbar-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ds-toolbar-btn {
    background-color: transparent;
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: var(--ds-radius-sm);
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ds-toolbar-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.ds-toolbar-btn i {
    font-size: 16px;
}

.ds-toolbar-separator {
    width: 1px;
    height: 24px;
    background-color: rgba(255, 255, 255, 0.2);
}

.ds-zoom-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ds-zoom-value {
    color: #fff;
    min-width: 60px;
    text-align: center;
    font-size: 13px;
}

.ds-document-container {
    flex: 1;
    overflow: auto;
    display: flex;
    justify-content: center;
    padding: 20px;
}

.ds-document-page {
    background-color: #fff;
    box-shadow: var(--ds-shadow-lg);
    max-width: 850px;
    width: 100%;
    margin: 0 auto;
}

/* ===============================================
   Right Sidebar Panel (DocuSign-style)
   =============================================== */

.ds-sidebar {
    width: var(--ds-sidebar-width);
    background-color: #fff;
    border-left: 1px solid var(--ds-gray-300);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ds-sidebar-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--ds-gray-200);
}

.ds-sidebar-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--ds-gray-900);
    margin: 0;
}

.ds-sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.ds-sidebar-actions {
    padding: 16px 20px;
    border-top: 1px solid var(--ds-gray-200);
    background-color: var(--ds-gray-50);
}

/* ===============================================
   Action Buttons (DocuSign-style vertical sidebar)
   =============================================== */

.ds-action-panel {
    position: fixed;
    right: 0;
    top: var(--ds-header-height);
    bottom: 0;
    width: 80px;
    background-color: #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    gap: 20px;
    z-index: 100;
    border-left: 1px solid #ddd;
}

.ds-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    color: #666;
    font-size: 11px;
    padding: 8px;
    width: 100%;
}

.ds-action-btn i {
    font-size: 20px;
    color: #666;
}

.ds-action-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: #333;
}

.ds-action-btn:hover i {
    color: #333;
}

.ds-action-btn.active {
    background-color: rgba(81, 55, 149, 0.1);
    color: var(--ds-primary);
}

.ds-action-btn.active i {
    color: var(--ds-primary);
}

.ds-action-panel-spacer {
    flex: 1;
}

.ds-zoom-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    color: #666;
    padding: 8px;
}

/* ===============================================
   Progress Steps (Bootstrap-enhanced)
   =============================================== */

.ds-progress-steps {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ds-step {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ds-step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #fff;
    border: 2px solid var(--ds-gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 13px;
    color: var(--ds-gray-600);
    transition: all 0.3s;
    flex-shrink: 0;
}

.ds-step.active .ds-step-circle {
    border-color: var(--ds-primary);
    background-color: var(--ds-primary);
    color: var(--ds-gray-900);
}

.ds-step.completed .ds-step-circle {
    border-color: var(--ds-success);
    background-color: var(--ds-success);
    color: #fff;
}

.ds-step-label {
    font-size: 14px;
    color: var(--ds-gray-600);
    font-weight: 500;
    white-space: nowrap;
}

.ds-step.active .ds-step-label {
    color: var(--ds-gray-900);
    font-weight: 600;
}

.ds-step-separator {
    width: 24px;
    height: 2px;
    background-color: var(--ds-gray-300);
    flex-shrink: 0;
}

.ds-step.completed + .ds-step-separator {
    background-color: var(--ds-success);
}

/* ===============================================
   Document List (Bootstrap Cards)
   =============================================== */

.ds-document-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ds-document-card {
    background-color: #fff;
    border: 1px solid var(--ds-gray-300);
    border-radius: var(--ds-radius-lg);
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.ds-document-card:hover {
    border-color: var(--ds-gray-400);
    box-shadow: var(--ds-shadow);
}

.ds-document-card.active {
    border-color: var(--ds-primary);
    background-color: #fff8e1;
}

.ds-document-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.ds-document-icon {
    width: 40px;
    height: 40px;
    background-color: var(--ds-gray-100);
    border-radius: var(--ds-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ds-primary-dark);
    font-size: 20px;
}

.ds-document-info {
    flex: 1;
}

.ds-document-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--ds-gray-900);
    margin: 0 0 4px 0;
}

.ds-document-meta {
    font-size: 12px;
    color: var(--ds-gray-600);
}

.ds-document-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.ds-document-status.completed {
    color: var(--ds-success);
}

.ds-document-status.pending {
    color: var(--ds-gray-600);
}

/* ===============================================
   Signature Panel
   =============================================== */

.ds-signature-panel {
    background-color: #fff;
    border-radius: var(--ds-radius-lg);
    padding: 20px;
}

.ds-signature-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 16px 0;
    color: var(--ds-gray-900);
}

.ds-signature-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--ds-gray-200);
}

.ds-signature-tab {
    padding: 10px 16px;
    background-color: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-size: 14px;
    color: var(--ds-gray-600);
    font-weight: 500;
    transition: all 0.2s;
}

.ds-signature-tab:hover {
    color: var(--ds-gray-900);
}

.ds-signature-tab.active {
    color: var(--ds-gray-900);
    border-bottom-color: var(--ds-primary);
}

.ds-signature-canvas {
    border: 2px solid var(--ds-gray-300);
    border-radius: var(--ds-radius);
    background-color: #fff;
    cursor: crosshair;
    width: 100%;
    height: 150px;
}

.ds-signature-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

/* ===============================================
   Bootstrap Button Enhancements
   =============================================== */

.btn {
    border-radius: var(--ds-radius);
    font-weight: 500;
    padding: 10px 20px;
    font-size: 14px;
    transition: all 0.2s;
}

.btn-primary {
    background-color: var(--ds-primary);
    border-color: var(--ds-primary);
    color: var(--ds-gray-900);
}

.btn-primary:hover {
    background-color: var(--ds-primary-hover);
    border-color: var(--ds-primary-hover);
}

.btn-success {
    background-color: var(--ds-success);
    border-color: var(--ds-success);
}

.btn-outline-secondary {
    border-color: var(--ds-gray-400);
    color: var(--ds-gray-700);
}

.btn-outline-secondary:hover {
    background-color: var(--ds-gray-100);
    border-color: var(--ds-gray-500);
}

.btn-lg {
    padding: 12px 32px;
    font-size: 16px;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 13px;
}

/* ===============================================
   Bootstrap Form Enhancements
   =============================================== */

.form-control {
    border-radius: var(--ds-radius);
    border-color: var(--ds-gray-300);
    font-size: 14px;
    padding: 10px 12px;
}

.form-control:focus {
    border-color: var(--ds-primary);
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--ds-gray-700);
    font-size: 14px;
    margin-bottom: 6px;
}

/* ===============================================
   Bootstrap Alert Enhancements
   =============================================== */

.alert {
    border-radius: var(--ds-radius-lg);
    border: none;
    padding: 16px 20px;
    font-size: 14px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
}

/* ===============================================
   Bootstrap Badge Enhancements
   =============================================== */

.badge {
    border-radius: var(--ds-radius-sm);
    padding: 4px 10px;
    font-weight: 600;
    font-size: 12px;
}

/* ===============================================
   Loading & Empty States
   =============================================== */

.ds-loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: var(--ds-gray-600);
}

.ds-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--ds-gray-600);
}

.ds-empty-state-icon {
    font-size: 48px;
    color: var(--ds-gray-400);
    margin-bottom: 16px;
}

.ds-empty-state-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--ds-gray-900);
    margin-bottom: 8px;
}

.ds-empty-state-text {
    font-size: 14px;
    color: var(--ds-gray-600);
}

/* ===============================================
   Success State
   =============================================== */

.ds-success-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    text-align: center;
    background-color: #fff;
}

.ds-success-icon {
    width: 80px;
    height: 80px;
    background-color: var(--ds-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.ds-success-icon i {
    font-size: 48px;
    color: #fff;
}

.ds-success-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--ds-gray-900);
    margin-bottom: 12px;
}

.ds-success-text {
    font-size: 16px;
    color: var(--ds-gray-600);
    margin-bottom: 8px;
}

.ds-success-badges {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.ds-success-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: var(--ds-gray-100);
    border-radius: var(--ds-radius-lg);
    font-size: 13px;
    color: var(--ds-gray-700);
}

/* ===============================================
   Responsive Design
   =============================================== */

/* Tablet and below */
@media (max-width: 992px) {
    .ds-document-viewer {
        margin-right: 0;
    }
    
    .ds-action-panel {
        right: 12px;
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    :root {
        --ds-header-height: 56px;
        --ds-toolbar-height: 44px;
        --ds-sidebar-width: 100%;
    }
    
    .ds-header {
        padding: 0 12px;
    }
    
    .ds-header-brand {
        font-size: 16px;
        gap: 8px;
    }
    
    .ds-header-brand i {
        font-size: 20px;
    }
    
    .ds-header-title {
        font-size: 13px;
        flex: 1;
    }
    
    /* Stack step progression vertically or hide labels on very small screens */
    .ds-header-title > div {
        gap: 16px !important;
    }
    
    .ds-header-title > div > div {
        gap: 6px !important;
    }
    
    .ds-header-title > div > div > div:last-child {
        font-size: 11px !important;
    }
    
    .ds-header-title > div > div:first-child {
        width: 24px !important;
        height: 24px !important;
        font-size: 12px !important;
    }
    
    .ds-header-title > div > div:nth-child(2) {
        width: 24px !important;
    }
    
    .ds-btn-close {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .ds-btn-menu {
        padding: 6px;
        font-size: 18px;
    }
    
    .ds-document-viewer {
        margin-right: 0;
    }
    
    .ds-sidebar {
        position: fixed;
        right: -100%;
        top: var(--ds-header-height);
        height: calc(100vh - var(--ds-header-height));
        width: 100%;
        max-width: 400px;
        transition: right 0.3s ease-in-out;
        z-index: 999;
        box-shadow: var(--ds-shadow-lg);
    }
    
    .ds-sidebar.open {
        right: 0;
    }
    
    .ds-action-panel {
        right: 8px;
        top: calc(var(--ds-header-height) + 12px);
        gap: 8px;
    }
    
    .ds-action-btn {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
    
    .ds-toolbar-btn span {
        display: none;
    }
    
    .ds-toolbar-btn {
        padding: 8px;
    }
    
    .ds-viewer-toolbar {
        padding: 0 12px;
        gap: 12px;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    :root {
        --ds-header-height: 52px;
    }
    
    .ds-header {
        padding: 0 8px;
    }
    
    .ds-header-brand span {
        display: none;
    }
    
    .ds-header-title {
        font-size: 12px;
    }
    
    /* Hide step labels on very small screens, show only circles */
    .ds-header-title > div > div > div:last-child {
        display: none;
    }
    
    .ds-header-title > div {
        gap: 12px !important;
    }
    
    .ds-header-title > div > div:nth-child(2) {
        width: 20px !important;
    }
    
    .ds-btn-close {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .ds-action-panel {
        right: 6px;
        top: calc(var(--ds-header-height) + 8px);
    }
    
    .ds-action-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .ds-toolbar-btn i {
        font-size: 16px;
    }
    
    .ds-viewer-toolbar {
        padding: 0 8px;
        gap: 8px;
    }
}

/* Touch-friendly adjustments */
@media (hover: none) and (pointer: coarse) {
    .ds-btn-close,
    .ds-btn-menu,
    .ds-action-btn,
    .ds-toolbar-btn {
        min-height: 44px;
        min-width: 44px;
    }
}

/* ===============================================
   Animations
   =============================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

/* ===============================================
   Utility Classes
   =============================================== */

.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.d-flex {
    display: flex !important;
}

.align-items-center {
    align-items: center !important;
}

.justify-content-between {
    justify-content: space-between !important;
}

.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 1rem; }
.gap-4 { gap: 1.5rem; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }

/* ===============================================
   Footer Navigation
   =============================================== */

.ds-footer-nav {
    position: sticky;
    bottom: 48px;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e5e7eb;
    padding: 16px 24px;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
    z-index: 100;
}

.ds-footer-nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.ds-footer-nav .btn {
    min-width: 140px;
}

/* ===============================================
   DocuSign Right Sidebar
   =============================================== */

.docusign-sidebar {
    position: fixed;
    right: 0;
    top: 60px;
    bottom: 48px;
    width: 80px;
    background: white;
    border-left: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    gap: 16px;
    z-index: 90;
}

.sidebar-btn {
    background: transparent;
    border: none;
    color: #6b7280;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 8px;
    width: 100%;
    transition: all 0.2s;
    font-size: 11px;
}

.sidebar-btn:hover {
    background: #f3f4f6;
    color: #111827;
}

.sidebar-btn i {
    font-size: 20px;
}

.sidebar-btn span {
    font-size: 10px;
    text-align: center;
    line-height: 1.2;
}

.sidebar-zoom {
    margin-top: auto;
    padding: 8px 12px;
    background: #f3f4f6;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #374151;
}

/* ===============================================
   DocuSign Bottom Branding Bar
   =============================================== */

.docusign-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 48px;
    background: white;
    border-top: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    z-index: 100;
    font-size: 12px;
    color: #6b7280;
}

.docusign-bottom-content {
    width: 100%;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bottom-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.powered-by {
    color: #6b7280;
}

.powered-by strong {
    color: #111827;
    font-weight: 600;
}

.bottom-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.bottom-link {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s;
}

.bottom-link:hover {
    color: #111827;
    text-decoration: underline;
}

.copyright {
    color: #9ca3af;
    font-size: 11px;
}

@media (max-width: 768px) {
    .ds-footer-nav {
        padding: 12px 16px;
        bottom: 36px;
    }
    
    .ds-footer-nav-content {
        gap: 12px;
    }
    
    .ds-footer-nav .btn {
        min-width: 100px;
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    
    .docusign-sidebar {
        width: 60px;
        padding: 12px 0;
        gap: 12px;
    }
    
    .sidebar-btn {
        padding: 8px 4px;
        font-size: 10px;
    }
    
    .sidebar-btn i {
        font-size: 18px;
    }
    
    .sidebar-btn span {
        font-size: 9px;
    }
    
    .docusign-bottom-bar {
        height: 36px;
        font-size: 10px;
    }
    
    .docusign-bottom-content {
        padding: 0 12px;
    }
    
    .bottom-right {
        gap: 12px;
    }
    
    .copyright {
        display: none;
    }
}
