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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

/* Navigation Header */
.nav-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    color: #1a1a1a;
    font-size: 1.5rem;
    margin: 0;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    color: #666;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 1rem;
}

.nav-link:hover {
    background: #f0f0f0;
    color: #1a1a1a;
}

.logout-link {
    color: #dc3545;
}

.logout-link:hover {
    background: #fff5f5;
    color: #c82333;
}

.container {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 700px;
    width: 100%;
    animation: fadeIn 0.5s ease;
    margin: 2rem auto;
}

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

h1 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.subtitle {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.guidelines {
    margin-bottom: 2rem;
    text-align: left;
}

.guide-toggle {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
}

.guide-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.guide-content {
    margin-top: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.guide-content.hidden {
    display: none;
}

.guide-content h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.guide-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.guide-content li {
    padding: 0.5rem 0;
    color: #555;
    line-height: 1.5;
}

.guide-content li strong {
    color: #1a1a1a;
}

.example {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #333;
    margin-top: 1rem;
}

.example strong {
    color: #1a1a1a;
    display: block;
    margin-bottom: 0.5rem;
}

.mic-button {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.mic-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: scale(0);
    border-radius: 50%;
    transition: transform 0.5s ease;
}

.mic-button:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
}

.mic-button:hover::before {
    transform: scale(1);
}

.mic-button.recording {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(231, 76, 60, 0.4);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 15px 40px rgba(231, 76, 60, 0.6);
    }
}

.mic-icon {
    font-size: 56px;
    display: block;
}

.status {
    margin-top: 1.5rem;
    font-size: 1.2rem;
    color: #666;
    font-weight: 500;
    min-height: 30px;
}

.status.listening {
    color: #e74c3c;
}

.input-option {
    margin-top: 2rem;
}

.or-divider {
    text-align: center;
    position: relative;
    margin: 2rem 0 1.5rem;
}

.or-divider::before,
.or-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: #ddd;
}

.or-divider::before {
    left: 0;
}

.or-divider::after {
    right: 0;
}

.or-divider span {
    background: white;
    padding: 0 1rem;
    color: #1a1a1a;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.text-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    transition: all 0.3s ease;
    line-height: 1.6;
    min-height: 150px;
}

.text-input:focus {
    outline: none;
    border-color: #1a1a1a;
    background: #f0f3ff;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.text-input::placeholder {
    color: #adb5bd;
}

.button-group {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.generate-button {
    flex: 1;
    padding: 1rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.generate-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.generate-button:active {
    transform: translateY(0);
}

.generate-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.clear-button {
    padding: 1rem 2rem;
    background: #f8f9fa;
    color: #666;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.clear-button:hover {
    background: #e9ecef;
    border-color: #dee2e6;
}

.edit-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px solid #1a1a1a;
    animation: slideIn 0.3s ease;
}

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

.edit-section h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.editable-transcript {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    line-height: 1.6;
    background: white;
    min-height: 150px;
}

.editable-transcript:focus {
    outline: none;
    border-color: #1a1a1a;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.confirm-button {
    flex: 1;
    padding: 1rem;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.confirm-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.cancel-button {
    padding: 1rem 2rem;
    background: #f8f9fa;
    color: #dc3545;
    border: 2px solid #dc3545;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cancel-button:hover {
    background: #dc3545;
    color: white;
}

.hidden {
    display: none;
}

.transcript-box {
    margin-top: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    min-height: 100px;
    max-height: 200px;
    overflow-y: auto;
    text-align: left;
    color: #333;
    line-height: 1.6;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.transcript-box:empty::before {
    content: 'Your transcript will appear here...';
    color: #adb5bd;
    font-style: italic;
}

.transcript-box:not(:empty) {
    border-color: #1a1a1a;
    background: #f0f3ff;
}

.transcript-box.hidden {
    display: none;
}

.loading {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.loading.hidden {
    display: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #1a1a1a;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading p {
    color: #1a1a1a;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 2rem 1.5rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 0.9rem;
    }

    .mic-button {
        width: 120px;
        height: 120px;
    }

    .mic-icon {
        font-size: 48px;
    }

    .status {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .container {
        padding: 1.5rem 1rem;
    }

    h1 {
        font-size: 1.3rem;
    }

    .mic-button {
        width: 100px;
        height: 100px;
    }

    .mic-icon {
        font-size: 40px;
    }
}

/* Invoice Preview Modal */
.preview-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.preview-modal.hidden {
    display: none;
}

.preview-modal-content {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

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

.preview-modal-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 16px 16px 0 0;
}

.preview-modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.preview-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.invoice-preview-document {
    background: white;
    font-family: 'Helvetica', 'Arial', sans-serif;
}

/* Preview Invoice Header */
.preview-invoice-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 2rem 2.5rem;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.preview-invoice-title {
    font-size: 2.2rem;
    font-weight: bold;
    letter-spacing: 2px;
}

.preview-invoice-meta {
    text-align: right;
    font-size: 0.9rem;
}

.preview-meta-row {
    margin-bottom: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
}

.preview-meta-row span:first-child {
    opacity: 0.9;
    font-weight: 500;
}

.preview-editable {
    border: 2px solid transparent;
    padding: 0.3rem 0.5rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    min-width: 100px;
    display: inline-block;
    background: transparent;
}

.preview-editable:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
    cursor: text;
}

.preview-editable:focus {
    outline: none;
    border-color: white;
    background: rgba(255, 255, 255, 0.2);
}

.preview-editable[data-placeholder]:empty:before {
    content: attr(data-placeholder);
    opacity: 0.5;
}

.preview-date-input {
    border: 2px solid transparent;
    background: transparent;
    color: white;
    padding: 0.3rem 0.5rem;
    border-radius: 4px;
    font-family: inherit;
    font-size: inherit;
    transition: all 0.2s ease;
}

.preview-date-input:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
}

.preview-date-input:focus {
    outline: none;
    border-color: white;
    background: rgba(255, 255, 255, 0.2);
}

/* Parties Section */
.preview-parties {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    padding: 2rem 2.5rem;
}

.preview-party {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.preview-party-label {
    font-weight: bold;
    color: #1a1a1a;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.preview-company {
    font-weight: bold;
    font-size: 1.05rem;
    color: #333;
}

.preview-party .preview-editable {
    color: #666;
    font-size: 0.9rem;
    min-height: 1.4rem;
}

.preview-party .preview-editable:hover,
.preview-party .preview-editable:focus {
    border-color: #1a1a1a;
    background: #f8f9ff;
}

/* Items Table */
.preview-items-section {
    padding: 0 2.5rem 1.5rem 2.5rem;
}

.preview-items-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.preview-items-table thead {
    background: #f5f7fa;
}

.preview-items-table th {
    padding: 0.7rem;
    font-weight: bold;
    color: #333;
    font-size: 0.85rem;
    border-bottom: 2px solid #e0e0e0;
}

.preview-items-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
}

.preview-items-table tbody tr:hover {
    background: #f8f9ff;
}

.preview-items-table td {
    padding: 0.7rem;
    vertical-align: middle;
}

.preview-item-desc,
.preview-item-qty,
.preview-item-rate,
.preview-item-amount {
    border: 2px solid transparent;
    padding: 0.4rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    width: 100%;
    font-family: inherit;
    font-size: 0.9rem;
}

.preview-item-desc {
    min-width: 200px;
}

.preview-item-qty {
    text-align: center;
    min-width: 60px;
}

.preview-item-rate,
.preview-item-amount {
    text-align: right;
    min-width: 70px;
}

.preview-item-amount {
    background: #f5f5f5;
    color: #666;
}

.preview-item-desc:hover,
.preview-item-qty:hover,
.preview-item-rate:hover {
    border-color: #1a1a1a;
    background: #f8f9ff;
    cursor: text;
}

.preview-item-desc:focus,
.preview-item-qty:focus,
.preview-item-rate:focus {
    outline: none;
    border-color: #1a1a1a;
    background: #f0f3ff;
}

.preview-btn-remove-item {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 4px;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.preview-btn-remove-item:hover {
    background: #c82333;
    transform: scale(1.1);
}

.preview-btn-add-item {
    background: #1a1a1a;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.6rem 1.2rem;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.preview-btn-add-item:hover {
    background: #5568d3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Totals */
.preview-totals-section {
    padding: 0 2.5rem 1.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    border-top: 2px solid #e0e0e0;
    padding-top: 1.5rem;
}

.preview-total-row {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 0.7rem;
    min-width: 300px;
    justify-content: space-between;
}

.preview-total-row span:first-child {
    font-weight: 500;
    color: #666;
}

.preview-total-row span:last-child,
.preview-total-row .preview-editable {
    font-weight: 600;
    text-align: right;
    min-width: 100px;
}

.preview-total-final {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    margin-top: 0.5rem;
}

.preview-total-final span {
    font-size: 1.1rem;
    font-weight: bold;
}

/* Notes */
.preview-notes-section {
    padding: 1.5rem 2.5rem;
    background: #f8f9fa;
}

.preview-notes-label {
    font-weight: bold;
    color: #333;
    margin-bottom: 0.7rem;
    font-size: 0.9rem;
}

.preview-notes-content {
    color: #666;
    line-height: 1.6;
    min-height: 50px;
    padding: 0.7rem;
}

/* Footer */
.preview-invoice-footer {
    text-align: center;
    padding: 1.5rem;
    color: #999;
    font-size: 0.85rem;
    border-top: 1px solid #e0e0e0;
}

/* Modal Footer */
.preview-modal-footer {
    padding: 1.5rem 2rem;
    border-top: 2px solid #f0f0f0;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    background: #f8f9fa;
}

.preview-btn-cancel {
    padding: 0.8rem 2rem;
    background: white;
    color: #666;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.preview-btn-cancel:hover {
    border-color: #1a1a1a;
    color: #1a1a1a;
}

.preview-btn-save {
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.preview-btn-save:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(40, 167, 69, 0.4);
}

/* ===== CONTRACT PREVIEW MODAL STYLES ===== */

.contract-preview-content {
    max-width: 900px;
}

.contract-preview-document {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.preview-contract-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 2rem;
    margin: -2.5rem -2.5rem 2rem -2.5rem;
    border-radius: 12px 12px 0 0;
}

.preview-contract-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.preview-contract-meta {
    display: grid;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.contract-title-editable {
    display: block;
    width: 100%;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem;
    border-radius: 4px;
}

.preview-section {
    margin-bottom: 2rem;
}

.preview-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #333;
    padding-bottom: 0.5rem;
}

.preview-party-box {
    background: #f8f9fa;
    border: 2px solid #333;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.preview-party-label {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.preview-party-details {
    display: grid;
    gap: 0.8rem;
}

.preview-field-group {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 0.5rem;
    align-items: center;
}

.preview-field-group label {
    font-weight: 600;
    color: #555;
    font-size: 0.9rem;
}

.preview-field-group .preview-editable {
    background: white;
    border: 1px solid #dee2e6;
    padding: 0.5rem;
    border-radius: 4px;
    min-height: 24px;
}

.preview-field-group .preview-editable:hover {
    border-color: #333;
}

.preview-field-group .preview-editable:focus {
    outline: none;
    border-color: #1a1a1a;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.contract-sections-container {
    margin-top: 2rem;
}

.preview-contract-section {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.preview-contract-section:last-child {
    border-bottom: none;
}

.preview-section-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    min-width: 40px;
}

.preview-section-content {
    flex: 1;
}

.preview-section-content .preview-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.8rem;
    border: 1px solid #e9ecef;
    padding: 0.5rem;
    border-radius: 4px;
    background: white;
    text-transform: none;
}

.preview-section-content .preview-section-title:hover {
    border-color: #333;
    background: #f8f9fa;
}

.preview-section-content .preview-section-title:focus {
    outline: none;
    border-color: #1a1a1a;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.preview-section-text {
    color: #444;
    line-height: 1.8;
    text-align: justify;
    border: 1px solid #e9ecef;
    padding: 1rem;
    border-radius: 4px;
    background: white;
    min-height: 80px;
    white-space: pre-wrap;
}

.preview-section-text:hover {
    border-color: #333;
    background: #f8f9fa;
}

.preview-section-text:focus {
    outline: none;
    border-color: #1a1a1a;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

/* Contract-specific modal buttons */
.contract-preview-content .modal-btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.contract-preview-content .btn-secondary {
    background: white;
    color: #666;
    border: 2px solid #e9ecef;
}

.contract-preview-content .btn-secondary:hover {
    border-color: #333;
    color: #1a1a1a;
}

.contract-preview-content .btn-primary {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.contract-preview-content .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}
