/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.4;
    color: #333;
    background: #f5f5f5;
}

/* Top Banner */
.top-banner {
    background: #2c5aa0;
    color: white;
    padding: 8px 0;
    text-align: center;
    position: relative;
    font-size: 12px;
    font-weight: 500;
}

.banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.banner-close {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 0 5px;
}

.banner-close:hover {
    opacity: 0.8;
}

/* Main Header */
.main-header {
    background: white;
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 0;
}

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

#logo-primary {
    height: 40px;
    width: auto;
    max-width: 200px;
    display: block;
}

/* Ensure SVG paths are visible */
#logo-primary path {
    fill: #14487F;
}

#logo-primary path[fill="#43B049"] {
    fill: #43B049;
}



/* Case Header */
.case-header {
    background: #e8e8e8;
    padding: 30px 0;
    border-bottom: 1px solid #ddd;
}

.case-header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.recovery-trust-logo {
    display: flex;
    align-items: center;
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-text img {
    max-height: 80px;
    width: auto;
    display: block;
}

.case-info {
    flex: 1;
}

.company-name {
    font-size: 32px;
    font-weight: 400;
    color: #333;
    margin-bottom: 5px;
}

.case-number {
    font-size: 16px;
    color: #666;
    font-weight: 400;
}



/* Main Container */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    padding-top: 30px;
    min-height: 600px;
}

/* Sidebar */
.sidebar {
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    height: fit-content;
}

.sidebar-section {
    border-bottom: 1px solid #eee;
}

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

.sidebar-section h3 {
    background: #2c5aa0;
    color: white;
    padding: 12px 15px;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

.sidebar-section.active h3 {
    background: #2c5aa0;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-menu li:last-child {
    border-bottom: none;
}

.sidebar-menu li a {
    display: block;
    padding: 12px 15px;
    color: #666;
    text-decoration: none;
    font-size: 13px;
    transition: background 0.2s ease;
}

.sidebar-menu li a:hover {
    background: #f8f8f8;
    color: #333;
}

.sidebar-menu li.active a {
    background: #e8f4fd;
    color: #2c5aa0;
    font-weight: 600;
}

/* Main Content */
.main-content {
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 30px;
    min-height: 500px;
}

.main-content .disbursement-portal {
    margin: 0 auto;
}

/* Disbursement Portal */
.disbursement-portal {
    max-width: 900px;
}

.disbursement-portal h2 {
    font-size: 20px;
    color: #000;
    margin-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.step-header {
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #999;
}

.step-header h3 {
    color: #000;
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Case Status Notice */
.case-status-notice {
    background: #fafafa;
    border: 1px solid #ccc;
    padding: 20px;
    margin-bottom: 30px;
}

.case-status-notice h3 {
    color: #000;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.case-status-notice p {
    line-height: 1.5;
    margin-bottom: 15px;
    color: #333;
    font-size: 14px;
}

.case-details {
    margin: 20px 0;
}

.case-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #999;
}

.case-table td {
    padding: 8px 12px;
    border: 1px solid #999;
    font-size: 13px;
    color: #333;
}

.case-table td:first-child {
    background: #f0f0f0;
    font-weight: 600;
    width: 30%;
}

.important-notice {
    border: 1px solid #999;
    padding: 15px;
    margin-top: 20px;
    background: #f9f9f9;
}

.important-notice p {
    color: #333;
    font-size: 13px;
    line-height: 1.4;
    margin: 0;
}

.disbursement-instructions {
    margin-bottom: 25px;
    padding: 15px;
    border: 1px solid #ccc;
    background: #fff;
}

.disbursement-instructions h4 {
    color: #000;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.disbursement-instructions p {
    color: #333;
    line-height: 1.4;
    margin: 0;
    font-size: 13px;
}

/* Content Section */
.content-section {
    animation: fadeIn 0.5s ease;
}

.content-section h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 400;
}

.section-description {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.5;
}

/* Form Styles */
.form-container {
    margin-bottom: 25px;
}

.kroll-form {
    background: #fff;
    border: 1px solid #999;
    padding: 20px;
}

.form-field {
    margin-bottom: 20px;
}

.form-field label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    font-size: 13px;
}

.form-field input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #999;
    font-size: 13px;
    background: white;
}

.form-field input:focus {
    outline: none;
    border-color: #000;
}

.field-help {
    font-size: 11px;
    color: #999;
    margin-top: 5px;
    font-style: italic;
}

/* Buttons */
.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 25px;
}

.btn-kroll-primary,
.btn-kroll-secondary {
    padding: 8px 20px;
    border: 1px solid #999;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-kroll-primary {
    background: #333;
    color: white;
}

.btn-kroll-primary:hover:not(:disabled) {
    background: #000;
}

.btn-kroll-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.btn-kroll-secondary {
    background: #f0f0f0;
    color: #333;
    border: 1px solid #999;
}

.btn-kroll-secondary:hover {
    background: #e0e0e0;
    color: #000;
}

/* Info Box */
.info-box {
    background: #f9f9f9;
    border: 1px solid #999;
    padding: 15px;
}

.info-box h4 {
    color: #000;
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-box ul {
    list-style: disc;
    padding-left: 20px;
}

.info-box li {
    padding: 3px 0;
    color: #333;
    font-size: 13px;
    line-height: 1.4;
}

/* Claim Summary */
.claim-summary-box {
    background: #fafafa;
    border: 1px solid #999;
    padding: 15px;
    margin-bottom: 25px;
}

.claim-summary-box h4 {
    color: #000;
    font-size: 14px;
    margin-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.claim-details {
    display: grid;
    gap: 10px;
}

.claim-detail-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.claim-detail-item:last-child {
    border-bottom: none;
}

.claim-detail-item strong {
    color: #666;
}

.disbursement-amount {
    color: #2c5aa0;
    font-weight: 700 !important;
    font-size: 16px;
}

/* Review Section */
.review-container {
    display: grid;
    gap: 20px;
    margin-bottom: 25px;
}

.review-section {
    background: #fafafa;
    border: 1px solid #999;
    padding: 15px;
}

.review-section h4 {
    color: #000;
    font-size: 14px;
    margin-bottom: 15px;
    font-weight: 700;
    padding-bottom: 8px;
    border-bottom: 1px solid #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.review-details p {
    margin-bottom: 8px;
    color: #333;
}

.review-details strong {
    color: #666;
    display: inline-block;
    width: 150px;
}

/* Agreement Section */
.agreement-section {
    background: #f9f9f9;
    border: 1px solid #999;
    padding: 15px;
    margin-bottom: 25px;
}

.agreement-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.4;
}

.agreement-checkbox input[type="checkbox"] {
    margin-top: 2px;
}

.agreement-checkbox a {
    color: #000;
    text-decoration: underline;
}

.agreement-checkbox a:hover {
    color: #333;
}

/* Success Content */
.success-content {
    text-align: center;
}

.success-icon {
    font-size: 40px;
    color: #333;
    margin-bottom: 15px;
}

.confirmation-box {
    background: #fafafa;
    border: 1px solid #999;
    padding: 15px;
    margin: 20px 0;
}

.confirmation-item {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid #ccc;
    font-size: 13px;
}

.confirmation-item:last-child {
    border-bottom: none;
}

.next-steps-box,
.contact-box {
    background: #f9f9f9;
    border: 1px solid #999;
    padding: 15px;
    margin: 15px 0;
    text-align: left;
}

.next-steps-box h5,
.contact-box h5 {
    color: #333;
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 600;
}

.success-content h4 {
    color: #000;
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.next-steps-box ol {
    padding-left: 20px;
}

.next-steps-box li {
    margin-bottom: 8px;
    color: #333;
}

.contact-box p {
    margin-bottom: 5px;
    color: #333;
}



/* Form Step Management */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

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

/* Error States */
.form-field input.error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.1);
}

.error-message {
    color: #e74c3c;
    font-size: 11px;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.success-message {
    color: #27ae60;
    font-size: 11px;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Loading States */
.btn-kroll-primary.loading {
    opacity: 0.7;
    pointer-events: none;
}

.btn-kroll-primary.loading:after {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 8px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .main-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .sidebar {
        order: 2;
    }
    
    .main-content {
        order: 1;
    }
}

@media (max-width: 768px) {
    .case-header-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .main-container {
        padding: 0 15px;
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .sidebar {
        order: 2;
    }
    
    .main-content {
        order: 1;
        padding: 20px;
    }
    
    .disbursement-portal {
        max-width: 100%;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-kroll-primary,
    .btn-kroll-secondary {
        width: 100%;
    }
    
    .case-details-grid,
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .claims-stats {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .case-overview-header h3 {
        font-size: 22px;
    }
    
    .timeline {
        padding-left: 20px;
    }
    
    .timeline-item {
        padding-left: 20px;
    }
    
    .documents-grid {
        grid-template-columns: 1fr;
    }
    
    .lookup-actions {
        flex-direction: column;
    }
    
    .lookup-actions .btn-kroll-secondary,
    .lookup-actions .btn-kroll-outline {
        width: 100%;
        justify-content: center;
    }
}

/* Cryptocurrency Disbursement Platform Styles */

/* Add styles for claim details */
.claim-detail-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.claim-detail-item:last-child {
    border-bottom: none;
}

.disbursement-amount {
    color: #00468b;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Cryptocurrency selection styles */
.crypto-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.crypto-option, .wallet-option {
    position: relative;
}

.crypto-option input[type="radio"],
.wallet-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.crypto-label, .wallet-label {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #ffffff;
}

.crypto-label:hover, .wallet-label:hover {
    border-color: #00468b;
    background-color: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 70, 139, 0.1);
}

input[type="radio"]:checked + .crypto-label,
input[type="radio"]:checked + .wallet-label {
    border-color: #00468b;
    background-color: #e6f3ff;
    box-shadow: 0 4px 12px rgba(0, 70, 139, 0.15);
}

.crypto-icon, .wallet-icon {
    font-size: 2rem;
    margin-right: 1rem;
    min-width: 3rem;
    text-align: center;
    color: #00468b;
}

.crypto-info, .wallet-info {
    flex: 1;
}

.crypto-info strong, .wallet-info strong {
    display: block;
    font-size: 1.1rem;
    color: #1a365d;
    margin-bottom: 0.25rem;
}

.crypto-info span, .wallet-info span {
    color: #64748b;
    font-size: 0.9rem;
}

/* Wallet selection styles */
.wallet-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

/* Warning and debug notices */
.wallet-warning {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    background-color: #fef3cd;
    border: 1px solid #fbbf24;
    border-radius: 8px;
    margin: 1rem 0;
}

.warning-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    flex-shrink: 0;
    color: #f59e0b;
}

.warning-text {
    flex: 1;
}

.warning-text strong {
    color: #92400e;
}

.debug-notice {
    display: flex;
    align-items: center;
    padding: 1rem;
    background-color: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.debug-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: #6b7280;
}

.debug-text {
    flex: 1;
    color: #374151;
}

.debug-text strong {
    color: #1f2937;
}

/* Form field improvements */
.form-field {
    margin-bottom: 1.5rem;
}

.form-field label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="password"],
.form-field textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #00468b;
    box-shadow: 0 0 0 3px rgba(0, 70, 139, 0.1);
}

.form-field textarea {
    min-height: 100px;
    resize: vertical;
}

/* Error and success states */
.error-message {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
}

.error-message i {
    margin-right: 0.5rem;
}

.success-message {
    color: #059669;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
}

.success-message i {
    margin-right: 0.5rem;
}

.field-help {
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 0.5rem;
    line-height: 1.4;
}

input.error,
textarea.error {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* Step navigation improvements */
.form-step {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.form-step.active {
    display: block;
}

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

.step-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
}

.step-header h3 {
    color: #1f2937;
    font-size: 1.5rem;
    margin: 0;
}

/* Button improvements */
.btn-kroll-primary,
.btn-kroll-secondary {
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
}

.btn-kroll-primary {
    background-color: #00468b;
    color: white;
}

.btn-kroll-primary:hover:not(:disabled) {
    background-color: #003770;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 70, 139, 0.2);
}

.btn-kroll-secondary {
    background-color: #f3f4f6;
    color: #374151;
    border: 2px solid #d1d5db;
}

.btn-kroll-secondary:hover:not(:disabled) {
    background-color: #e5e7eb;
    border-color: #9ca3af;
    transform: translateY(-1px);
}

.btn-kroll-primary:disabled,
.btn-kroll-secondary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-kroll-primary.loading,
.btn-kroll-secondary.loading {
    cursor: wait;
}

/* Form actions */
.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.form-actions .btn-kroll-secondary {
    margin-right: auto;
}

/* Review sections */
.review-container {
    background-color: #f9fafb;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.review-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

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

.review-section h4 {
    color: #1f2937;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.review-details p {
    margin: 0.5rem 0;
    color: #374151;
}

.review-details strong {
    color: #1f2937;
    margin-right: 0.5rem;
}

/* Agreement section */
.agreement-section {
    background-color: #f0f9ff;
    border: 1px solid #0ea5e9;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.agreement-checkbox {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    line-height: 1.5;
}

.agreement-checkbox input[type="checkbox"] {
    margin-right: 0.75rem;
    margin-top: 0.25rem;
    transform: scale(1.2);
}

.agreement-checkbox a {
    color: #0ea5e9;
    text-decoration: underline;
}

.agreement-checkbox a:hover {
    color: #0284c7;
}

/* Success confirmation styles */
.success-content {
    text-align: center;
    padding: 2rem;
}

.success-icon {
    font-size: 4rem;
    color: #059669;
    margin-bottom: 1rem;
}

.success-content h4 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.confirmation-box,
.next-steps-box,
.contact-box {
    background-color: #f9fafb;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: left;
}

.confirmation-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.confirmation-item:last-child {
    border-bottom: none;
}

.confirmation-item strong {
    color: #1f2937;
}

.next-steps-box h5,
.contact-box h5 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.next-steps-box ol {
    padding-left: 1.5rem;
    color: #374151;
}

.next-steps-box li {
    margin-bottom: 0.5rem;
}

.contact-box p {
    margin: 0.5rem 0;
    color: #374151;
}

/* Very small mobile screens */
@media (max-width: 360px) {
    .disbursement-portal .crypto-selection,
    .disbursement-portal .wallet-selection,
    .crypto-selection,
    .wallet-selection {
        grid-template-columns: 1fr 1fr !important;
        gap: 0.25rem;
    }
    
    .crypto-label,
    .wallet-label {
        padding: 0.4rem;
        min-height: 70px;
    }
    
    .crypto-icon,
    .wallet-icon {
        font-size: 1.25rem;
        margin-bottom: 0.2rem;
    }
    
    .crypto-info strong,
    .wallet-info strong {
        font-size: 0.8rem;
    }
    
    .crypto-info span,
    .wallet-info span {
        font-size: 0.7rem;
    }
}

/* Mobile optimizations */
@media (max-width: 480px) {
    .disbursement-portal .crypto-selection,
    .disbursement-portal .wallet-selection,
    .crypto-selection,
    .wallet-selection {
        grid-template-columns: 1fr 1fr !important;
        gap: 0.5rem;
        max-width: 100%;
    }
    
    .crypto-label,
    .wallet-label {
        padding: 0.5rem;
        flex-direction: column;
        text-align: center;
        min-height: 80px;
        justify-content: center;
    }
    
    .crypto-icon,
    .wallet-icon {
        font-size: 1.5rem;
        margin-right: 0;
        margin-bottom: 0.25rem;
    }
    
    .crypto-info,
    .wallet-info {
        text-align: center;
    }
    
    .crypto-info strong,
    .wallet-info strong {
        font-size: 0.85rem;
        margin-bottom: 0.1rem;
    }
    
    .crypto-info span,
    .wallet-info span {
        font-size: 0.75rem;
        line-height: 1.2;
    }
    
    /* Mobile-specific hover and selection states */
    .crypto-label:hover,
    .wallet-label:hover {
        transform: none;
        box-shadow: 0 2px 8px rgba(0, 70, 139, 0.1);
    }
    
    input[type="radio"]:checked + .crypto-label,
    input[type="radio"]:checked + .wallet-label {
        box-shadow: 0 2px 8px rgba(0, 70, 139, 0.15);
    }
    
    .form-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn-kroll-primary,
    .btn-kroll-secondary {
        width: 100%;
        padding: 1rem;
        font-size: 0.95rem;
    }
    
    .form-field input[type="text"],
    .form-field input[type="email"],
    .form-field input[type="password"],
    .form-field textarea {
        padding: 0.875rem;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .disbursement-portal {
        max-width: 100%;
    }
    
    .main-content {
        padding: 1rem;
    }
    
    .wallet-warning,
    .debug-notice {
        padding: 0.875rem;
        flex-direction: column;
        text-align: center;
    }
    
    .warning-icon,
    .debug-icon {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .review-container {
        padding: 1rem;
    }
    
    .review-section {
        margin-bottom: 1rem;
    }
    
    .confirmation-box,
    .next-steps-box,
    .contact-box {
        padding: 1rem;
    }
    
    .case-header {
        padding: 1rem 0;
    }
    
    .case-header-content {
        padding: 0 1rem;
    }
    
    .company-name {
        font-size: 24px;
    }
    
    .case-number {
        font-size: 14px;
    }
    
    .main-container {
        padding: 0 1rem;
    }
    
    .kroll-form {
        padding: 1rem;
    }
    
    .step-header h3 {
        font-size: 1.25rem;
    }
    
    .agreement-section {
        padding: 1rem;
    }
    
    .agreement-checkbox {
        font-size: 0.875rem;
    }
}

/* Tablet and larger mobile optimizations */
@media (min-width: 481px) and (max-width: 768px) {
    .disbursement-portal .crypto-selection,
    .disbursement-portal .wallet-selection,
    .crypto-selection,
    .wallet-selection {
        grid-template-columns: 1fr 1fr !important;
        gap: 0.75rem;
    }
    
    .crypto-label,
    .wallet-label {
        padding: 0.75rem;
        flex-direction: column;
        text-align: center;
        min-height: 100px;
        justify-content: center;
    }
    
    .crypto-icon,
    .wallet-icon {
        font-size: 1.75rem;
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .crypto-info,
    .wallet-info {
        text-align: center;
    }
    
    .crypto-info strong,
    .wallet-info strong {
        font-size: 0.95rem;
    }
    
    .crypto-info span,
    .wallet-info span {
        font-size: 0.85rem;
    }
    
    .main-content {
        padding: 1.5rem;
    }
    
    .form-actions {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .btn-kroll-primary,
    .btn-kroll-secondary {
        min-width: 140px;
        flex: 0 0 auto;
    }
    
    .case-details-grid,
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .claims-stats {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
}

/* Responsive improvements */
@media (max-width: 768px) {
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn-kroll-secondary {
        margin-right: 0;
        order: 2;
    }
    
    .form-actions .btn-kroll-primary {
        order: 1;
    }
}

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

.fa-spinner.fa-spin {
    animation: spin 1s linear infinite;
}

/* Accessibility improvements */
.crypto-label:focus-within,
.wallet-label:focus-within {
    outline: 2px solid #00468b;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .form-step:not(.active) {
        display: none;
    }

    .btn-kroll-primary,
    .btn-kroll-secondary {
        display: none;
    }
}

/* Content Section Navigation */
.content-section {
    display: none;
}

.content-section.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

/* Case Info Section Styles */
.case-info-section {
    max-width: 1000px;
}

.case-overview {
    margin-bottom: 40px;
}

.case-overview-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.case-overview-header h3 {
    font-size: 28px;
    color: #333;
    margin-bottom: 5px;
    font-weight: 600;
}

.case-subtitle {
    font-size: 16px;
    color: #666;
    font-style: italic;
}

.case-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.case-detail-card {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}

.card-header {
    background: #2c5aa0;
    color: white;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-header i {
    font-size: 18px;
}

.card-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.card-content {
    padding: 15px;
}

.card-content p {
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 1.4;
}

.card-content p:last-child {
    margin-bottom: 0;
}

.card-content strong {
    color: #333;
    font-weight: 600;
}

/* Timeline Styles */
.timeline-section {
    margin-bottom: 40px;
}

.timeline-section h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #ddd;
}

.timeline-item {
    position: relative;
    margin-bottom: 25px;
    padding-left: 25px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #2c5aa0;
    border: 2px solid white;
    box-shadow: 0 0 0 2px #ddd;
}

.timeline-item.active::before {
    background: #43B049;
    box-shadow: 0 0 0 2px #43B049;
}

.timeline-date {
    font-size: 12px;
    color: #666;
    font-weight: 600;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.timeline-content h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
    font-weight: 600;
}

.timeline-content p {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

/* Documents Section */
.important-documents {
    margin-bottom: 40px;
}

.important-documents h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.document-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 6px;
    gap: 15px;
}

.document-item i {
    font-size: 24px;
    color: #dc3545;
}

.document-info h4 {
    margin: 0 0 5px 0;
    font-size: 14px;
    color: #333;
    font-weight: 600;
}

.document-info p {
    margin: 0 0 8px 0;
    font-size: 12px;
    color: #666;
}

.document-link {
    font-size: 12px;
    color: #2c5aa0;
    text-decoration: none;
    font-weight: 600;
}

.document-link:hover {
    text-decoration: underline;
}

/* Claims Section Styles */
.claims-section {
    max-width: 1000px;
}

.claims-overview {
    margin-bottom: 40px;
}

.claims-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    text-align: center;
    padding: 25px 15px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Claims Categories */
.claims-categories {
    margin-bottom: 40px;
}

.claims-categories h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.category-card {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}

.category-header {
    background: #2c5aa0;
    color: white;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-header i {
    font-size: 18px;
}

.category-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.category-content {
    padding: 15px;
}

.category-content p {
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 1.4;
}

.category-content p:last-child {
    margin-bottom: 0;
}

.category-content strong {
    color: #333;
    font-weight: 600;
}

/* Claims Process */
.claims-process {
    margin-bottom: 40px;
}

.claims-process h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.process-content {
    display: grid;
    gap: 20px;
}

.process-step {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #2c5aa0;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.step-content h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

.step-content p {
    margin: 0;
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

/* Distribution Info */
.distribution-info {
    margin-bottom: 40px;
}

.distribution-info h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.distribution-schedule h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.distribution-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}

.distribution-table th,
.distribution-table td {
    padding: 12px;
    text-align: left;
    border: 1px solid #ddd;
    font-size: 13px;
}

.distribution-table th {
    background: #2c5aa0;
    color: white;
    font-weight: 600;
}

.distribution-table tr:nth-child(even) {
    background: #f9f9f9;
}

.table-note {
    font-size: 11px;
    color: #666;
    font-style: italic;
}

/* Claim Lookup */
.claim-lookup {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 20px;
}

.claim-lookup h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.lookup-form p {
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.lookup-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-kroll-outline {
    padding: 10px 20px;
    border: 2px solid #2c5aa0;
    background: transparent;
    color: #2c5aa0;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-kroll-outline:hover {
    background: #2c5aa0;
    color: white;
}

/* Force mobile grid layout - override any JavaScript-injected styles */
@media screen and (max-width: 480px) {
    .crypto-selection,
    .wallet-selection,
    .disbursement-portal .crypto-selection,
    .disbursement-portal .wallet-selection,
    .main-content .crypto-selection,
    .main-content .wallet-selection,
    .form-container .crypto-selection,
    .form-container .wallet-selection,
    .kroll-form .crypto-selection,
    .kroll-form .wallet-selection {
        grid-template-columns: 1fr 1fr !important;
        gap: 0.5rem !important;
        display: grid !important;
    }
}

@media screen and (max-width: 360px) {
    .crypto-selection,
    .wallet-selection,
    .disbursement-portal .crypto-selection,
    .disbursement-portal .wallet-selection,
    .main-content .crypto-selection,
    .main-content .wallet-selection,
    .form-container .crypto-selection,
    .form-container .wallet-selection,
    .kroll-form .crypto-selection,
    .kroll-form .wallet-selection {
        grid-template-columns: 1fr 1fr !important;
        gap: 0.25rem !important;
        display: grid !important;
    }
}

/* Force tablet grid layout */
@media screen and (min-width: 481px) and (max-width: 768px) {
    .crypto-selection,
    .wallet-selection,
    .disbursement-portal .crypto-selection,
    .disbursement-portal .wallet-selection,
    .main-content .crypto-selection,
    .main-content .wallet-selection,
    .form-container .crypto-selection,
    .form-container .wallet-selection,
    .kroll-form .crypto-selection,
    .kroll-form .wallet-selection {
        grid-template-columns: 1fr 1fr !important;
        gap: 0.75rem !important;
        display: grid !important;
    }
}

/* Collapsible Notice Styles */
.notice-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease;
    padding: 0.5rem;
    margin: -0.5rem;
    border-radius: 4px;
}

.notice-header:hover {
    background-color: rgba(0,0,0,0.05);
}

.toggle-icon {
    font-size: 20px;
    font-weight: bold;
    color: #2c5aa0;
    transition: transform 0.2s ease;
}

.case-status-notice.collapsed .toggle-icon {
    transform: rotate(0deg);
}

.case-status-notice .toggle-icon {
    transform: rotate(0deg);
}

.notice-content {
    transition: opacity 0.3s ease, max-height 0.3s ease;
    overflow: hidden;
}

.case-status-notice.collapsed {
    background: #f8f9fa;
    border-left: 4px solid #2c5aa0;
}

.case-status-notice.collapsed .notice-header h3 {
    font-size: 0.9rem;
    color: #666;
}

/* Collapsible Instructions Styles */
.instructions-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease;
    padding: 0.5rem;
    margin: -0.5rem;
    border-radius: 4px;
}

.instructions-header:hover {
    background-color: rgba(0,0,0,0.05);
}

.instructions-content {
    transition: opacity 0.3s ease, max-height 0.3s ease;
    overflow: hidden;
}

.disbursement-instructions.collapsed {
    background: #f8f9fa;
    border-left: 4px solid #2c5aa0;
}

.disbursement-instructions.collapsed .instructions-header h4 {
    font-size: 0.9rem;
    color: #666;
}

/* Wallet Connection Styles */
.wallet-connection-container {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
}

.wallet-connection-content {
    text-align: center;
}

.wallet-connection-content p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 16px;
    line-height: 1.5;
}

.wallet-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.wallet-option-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.wallet-option-btn:hover {
    border-color: #2c5aa0;
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 90, 160, 0.15);
}

.wallet-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.wallet-info strong {
    color: #333;
    font-size: 1.1rem;
}

.wallet-info span {
    color: #666;
    font-size: 0.9rem;
}

.wallet-connect-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.wallet-connect-actions .btn-kroll-primary {
    font-size: 16px;
    padding: 12px 24px;
    min-width: 200px;
}

/* Hardware Wallet Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.modal-content {
    background: white;
    border-radius: 12px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e0e0e0;
}

.modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 1.25rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.modal-close:hover {
    background-color: #f0f0f0;
}

.modal-body {
    padding: 2rem;
}

.hardware-wallet-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hardware-option {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 1rem 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    gap: 12px;
}

.hardware-option:hover {
    border-color: #2c5aa0;
    background: #f8f9fa;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(44, 90, 160, 0.15);
}

.hardware-option span {
    font-weight: 500;
    color: #333;
    font-size: 1rem;
    flex: 1;
}

.wallet-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.wallet-logo-placeholder {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    border-radius: 4px;
    flex-shrink: 0;
}

.wallet-logo-placeholder i {
    font-size: 14px;
    color: #6b7280;
}

/* Error Popup Modal Styles */
#error-popup-modal {
    z-index: 10000;
}

/* Success Popup Modal Styles */
#success-popup-modal {
    z-index: 10000;
}

.error-modal-content {
    max-width: 450px;
    width: 85%;
    background: white;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid #e0e0e0;
}

.error-header {
    background: #f8f9fa;
    color: #333;
    border-radius: 8px 8px 0 0;
    border-bottom: 1px solid #e0e0e0;
}

.error-header h3 {
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
}

.error-header .modal-close {
    color: #666;
}

.error-header .modal-close:hover {
    background-color: #e9ecef;
    color: #333;
}

.error-content {
    text-align: center;
    padding: 2rem 1.5rem 1rem;
}

.error-content p {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
}

.error-actions {
    display: flex;
    justify-content: center;
    padding: 0 1.5rem 2rem;
}

.error-actions .btn-kroll-primary {
    background-color: #2c5aa0;
    border-color: #2c5aa0;
    min-width: 100px;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
}

.error-actions .btn-kroll-primary:hover {
    background-color: #1e4080;
    border-color: #1e4080;
}

/* Success Modal Content */
.success-modal-content {
    max-width: 450px;
    width: 85%;
    background: white;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid #e0e0e0;
}

.success-header {
    background: #f8fff9;
    color: #333;
    border-radius: 8px 8px 0 0;
    border-bottom: 1px solid #d4edda;
}

.success-header h3 {
    color: #155724;
    font-size: 1.1rem;
    font-weight: 600;
}

.success-header .modal-close {
    color: #666;
}

.success-header .modal-close:hover {
    background-color: #e9ecef;
    color: #333;
}

.success-content {
    text-align: center;
    padding: 2rem 1.5rem 1rem;
}

.success-content p {
    color: #155724;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
}

.success-actions {
    display: flex;
    justify-content: center;
    padding: 0 1.5rem 2rem;
}

.success-actions .btn-kroll-primary {
    background-color: #28a745;
    border-color: #28a745;
    min-width: 100px;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
}

.success-actions .btn-kroll-primary:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

/* Seed Entry Modal Styles */
.seed-modal-content {
    max-width: 850px;
    width: 94%;
    max-height: 98vh;
}

.seed-modal-content .modal-body {
    padding: 0.8rem 1rem 1.2rem;
}

.seed-entry-header {
    text-align: center;
    margin-bottom: 0.8rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid #f0f0f0;
}

.seed-entry-header p {
    color: #666;
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.2;
}

.seed-options {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 0.8rem;
    padding: 0.6rem;
    background: #f8f9fa;
    border-radius: 6px;
}

.seed-length-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.seed-length-option:hover {
    background-color: white;
}

.seed-length-option input[type="radio"] {
    margin: 0;
    width: 16px;
    height: 16px;
}

.seed-length-option input[type="radio"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.seed-length-option span {
    font-weight: 500;
    color: #333;
}

.seed-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.6rem;
    margin-bottom: 1rem;
    padding: 0.8rem;
    background: #fafafa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.seed-word-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
}

.seed-word-label {
    font-size: 0.7rem;
    color: #6c757d;
    font-weight: 600;
    text-align: center;
    background: white;
    padding: 0.2rem;
    border-radius: 3px;
    border: 1px solid #e9ecef;
}

.seed-word-input {
    padding: 0.55rem 0.3rem;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 500;
    background: white;
    transition: all 0.2s ease;
    min-height: 36px;
    width: 100%;
    box-sizing: border-box;
}

.seed-word-input:focus {
    border-color: #2c5aa0;
    outline: none;
    box-shadow: 0 0 0 2px rgba(44, 90, 160, 0.1);
    background: #fff;
}

.seed-word-input:not(:placeholder-shown) {
    border-color: #28a745;
    background: #f8fff9;
}

.seed-word-input.bip39-valid {
    border-color: #28a745 !important;
    background: #f8fff9 !important;
    box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.15) !important;
}

.seed-word-input.bip39-invalid {
    border-color: #dc3545 !important;
    background: #fff5f5 !important;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.15) !important;
}

.seed-word-input.bip39-invalid:focus {
    border-color: #dc3545 !important;
    background: #fff5f5 !important;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.25) !important;
}

.hidden-phrase-section {
    margin-bottom: 1rem;
    padding: 0.8rem;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
}

.hidden-phrase-section label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    color: #856404;
    font-size: 0.85rem;
}

.hidden-phrase-section input {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid #ffeaa7;
    border-radius: 4px;
    font-size: 0.85rem;
    background: white;
    transition: border-color 0.2s ease;
}

.hidden-phrase-section input:focus {
    border-color: #f39c12;
    outline: none;
    box-shadow: 0 0 0 2px rgba(243, 156, 18, 0.1);
}

.hidden-phrase-section .field-help {
    font-size: 0.7rem;
    color: #856404;
    margin-top: 0.3rem;
    font-style: italic;
}

.seed-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    padding-top: 0.6rem;
    border-top: 1px solid #f0f0f0;
}

.seed-actions .btn-kroll-primary,
.seed-actions .btn-kroll-secondary {
    min-width: 140px;
    padding: 0.875rem 1.5rem;
    font-weight: 500;
}

.seed-actions .btn-kroll-primary:disabled {
    background-color: #6c757d;
    border-color: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
}

.seed-actions .btn-kroll-primary:disabled:hover {
    background-color: #6c757d;
    border-color: #6c757d;
    transform: none;
}

@media (max-width: 768px) {
    .error-modal-content,
    .success-modal-content {
        width: 92%;
        margin: 1rem;
    }
    
    .error-content,
    .success-content {
        padding: 1.5rem 1rem 0.75rem;
    }
    
    .error-content p,
    .success-content p {
        font-size: 0.95rem;
    }
    
    .error-actions,
    .success-actions {
        padding: 0 1rem 1.5rem;
    }
    
    .wallet-options-grid {
        grid-template-columns: 1fr;
    }
    
    .wallet-connect-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .wallet-connect-actions .btn-kroll-primary {
        order: 1;
        width: 100%;
        min-width: auto;
    }
    
    .wallet-connect-actions .btn-kroll-secondary {
        order: 2;
        width: 100%;
        min-width: auto;
    }
    

    
    .seed-modal-content {
        width: 98%;
        max-height: 98vh;
    }
    
    .seed-modal-content .modal-body {
        padding: 0.75rem 1rem 1rem;
    }
    
    .seed-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.6rem;
        padding: 0.8rem;
    }
    
    .seed-word-input {
        padding: 0.5rem 0.25rem;
        font-size: 0.75rem;
        min-height: 32px;
    }
    
    .seed-word-label {
        font-size: 0.65rem;
        padding: 0.15rem;
    }
    
    .seed-options {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        padding: 0.75rem;
    }
    
    .seed-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .seed-actions .btn-kroll-primary,
    .seed-actions .btn-kroll-secondary {
        width: 100%;
        min-width: auto;
    }
    
    .hidden-phrase-section {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .seed-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        padding: 0.6rem;
    }
    
    .seed-word-input {
        padding: 0.5rem 0.3rem;
        font-size: 0.75rem;
        min-height: 34px;
    }
    
    .seed-word-label {
        font-size: 0.65rem;
        padding: 0.15rem;
    }
    
    .seed-modal-content .modal-body {
        padding: 0.5rem 0.75rem 0.75rem;
    }
    
    .seed-entry-header {
        margin-bottom: 0.75rem;
        padding-bottom: 0.5rem;
    }
    
    .seed-options {
        margin-bottom: 0.75rem;
        padding: 0.5rem;
    }
}

@media (max-width: 360px) {
    .seed-modal-content {
        width: 99%;
    }
    
    .seed-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.4rem;
        padding: 0.5rem;
    }
    
    .seed-word-input {
        padding: 0.4rem 0.2rem;
        font-size: 0.7rem;
        min-height: 30px;
    }
    
    .seed-word-label {
        font-size: 0.6rem;
        padding: 0.1rem;
    }
}