/**
 * Coinley Enhanced Admin Styles
 */

/* Import Bricolage Grotesque Font */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&display=swap');

/* Main Layout */
.coinleywp-admin {
    background: #f8fafc;
    margin: 0 -20px -10px -20px;
    padding: 30px;
    min-height: calc(100vh - 32px);
    font-family: "Bricolage Grotesque", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Header */
.coinleywp-header {
    background: linear-gradient(135deg, #7C3AED 0%, #8B5CF6 50%, #A855F7 100%);
    color: white;
    padding: 32px 40px;
    border-radius: 24px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    box-shadow: 0 20px 25px -5px rgba(124, 58, 237, 0.1), 0 10px 10px -5px rgba(124, 58, 237, 0.04);
    position: relative;
    overflow: hidden;
}

.coinleywp-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    pointer-events: none;
}

.coinleywp-header-logo img {
    height: 48px;
    margin-right: 24px;
    filter: brightness(0) invert(1);
    position: relative;
    z-index: 1;
}

.coinleywp-header-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.coinleywp-header h1 {
    color: white !important;
    margin: 0 0 8px 0 !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    letter-spacing: -0.025em !important;
    line-height: 1.2 !important;
}

.coinleywp-header p {
    margin: 0 !important;
    opacity: 0.9;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
}

.coinleywp-header-actions {
    position: relative;
    z-index: 1;
}

.coinleywp-header-actions .button {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 12px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
    text-decoration: none;
}

.coinleywp-header-actions .button:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    color: white;
}

.coinleywp-header-actions .button .dashicons {
    font-size: 16px;
}

/* Merchant Card */
.coinleywp-merchant-card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 40px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid #f1f5f9;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    transition: box-shadow 0.2s ease;
}

.coinleywp-merchant-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.coinleywp-merchant-card h3 {
    margin: 0 0 24px 0;
    color: #1e293b;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.coinleywp-merchant-card h4 {
    margin: 0 0 20px 0;
    color: #1e293b;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.015em;
}

.merchant-details {
    display: grid;
    gap: 20px;
}

.merchant-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #f1f5f9;
}

.merchant-detail:last-child {
    border-bottom: none;
}

.merchant-detail label {
    font-weight: 500;
    color: #64748b;
    margin: 0;
    font-size: 15px;
}

.merchant-detail span {
    font-weight: 600;
    color: #1e293b;
    font-size: 15px;
}

.wallet-list {
    display: grid;
    gap: 16px;
}

.wallet-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.wallet-item:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.wallet-item strong {
    color: #475569;
    font-weight: 600;
    min-width: 80px;
}

.wallet-address {
    background: #e2e8f0;
    padding: 8px 12px;
    border-radius: 8px;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    font-size: 13px;
    color: #475569;
    flex: 1;
    letter-spacing: 0.025em;
}

.copy-address {
    background: none;
    border: none;
    color: #7C3AED;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.copy-address:hover {
    color: #6D28D9;
    background: #f3f4f6;
}

.copy-address .dashicons {
    font-size: 16px;
}

/* Stats Grid */
.coinleywp-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.stat-card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #7C3AED, #8B5CF6, #A855F7);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.stat-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 24px;
    font-size: 28px;
    position: relative;
    flex-shrink: 0;
}

.stat-card:nth-child(1) .stat-icon {
    background: linear-gradient(135deg, #7C3AED, #8B5CF6);
    color: white;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
}

.stat-card:nth-child(2) .stat-icon {
    background: linear-gradient(135deg, #059669, #10B981);
    color: white;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.stat-card:nth-child(3) .stat-icon {
    background: linear-gradient(135deg, #DC2626, #EF4444);
    color: white;
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
}

.stat-card:nth-child(4) .stat-icon {
    background: linear-gradient(135deg, #0EA5E9, #06B6D4);
    color: white;
    box-shadow: 0 8px 20px rgba(6, 182, 212, 0.3);
}

.stat-content h3 {
    margin: 0 0 8px 0;
    font-size: 36px;
    font-weight: 800;
    color: #1e293b;
    letter-spacing: -0.025em;
    line-height: 1;
}

.stat-content p {
    margin: 0;
    color: #64748b;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: -0.01em;
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 0.025em;
}

.status-badge.status-active {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.status-badge.status-pending {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.status-badge.status-processing {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.status-badge.status-completed {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.status-badge.status-failed {
    background: #fecaca;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Currency Badge */
.currency-badge {
    background: linear-gradient(135deg, #7C3AED, #8B5CF6);
    color: white;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    box-shadow: 0 2px 4px rgba(124, 58, 237, 0.2);
}

/* Transactions Section */
.coinleywp-recent-transactions {
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid #f1f5f9;
    transition: box-shadow 0.2s ease;
}

.coinleywp-recent-transactions:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f1f5f9;
}

.section-header h2 {
    margin: 0;
    color: #1e293b;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.section-header .button {
    background: linear-gradient(135deg, #7C3AED, #8B5CF6);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px rgba(124, 58, 237, 0.2);
}

.section-header .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(124, 58, 237, 0.3);
    color: white;
}

.transactions-table-wrapper {
    overflow-x: auto;
}

.no-transactions {
    text-align: center;
    padding: 80px 32px;
    color: #64748b;
}

.no-transactions-icon {
    font-size: 80px;
    margin-bottom: 24px;
    opacity: 0.3;
    color: #cbd5e1;
}

.no-transactions h3 {
    margin: 0 0 16px 0;
    color: #475569;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.no-transactions p {
    margin: 0 auto;
    max-width: 480px;
    line-height: 1.7;
    font-size: 16px;
    color: #64748b;
}

/* Filters */
.coinleywp-filters {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    margin-bottom: 5px;
    font-weight: 600;
    color: #495057;
    font-size: 14px;
}

.filter-group select,
.filter-group input {
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.filter-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Table Navigation */
.table-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9ecef;
}

.transaction-count {
    font-weight: 600;
    color: #495057;
}

/* Modal */
.coinleywp-modal {
    position: fixed;
    z-index: 100000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.coinleywp-modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 80%;
    max-width: 600px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.coinleywp-modal-content.large {
    max-width: 800px;
}

.coinleywp-modal-header {
    padding: 24px 32px;
    background: linear-gradient(135deg, #7C3AED, #8B5CF6);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.coinleywp-modal-header h3 {
    margin: 0;
    color: white;
    font-size: 20px;
    font-weight: 600;
}

.coinleywp-modal-close {
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.coinleywp-modal-close:hover {
    opacity: 1;
}

.coinleywp-modal-body {
    padding: 25px;
    overflow-y: auto;
    flex: 1;
}

/* Transaction Details */
.transaction-details {
    display: grid;
    gap: 25px;
}

.detail-section h4 {
    margin: 0 0 15px 0;
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
    padding-bottom: 8px;
    border-bottom: 2px solid #f8f9fa;
}

.detail-grid {
    display: grid;
    gap: 12px;
}

.detail-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 15px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f8f9fa;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row label {
    font-weight: 600;
    color: #6c757d;
    margin: 0;
}

.detail-row span {
    font-weight: 500;
    color: #2c3e50;
}

.detail-row code {
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 13px;
    color: #495057;
    word-break: break-all;
}

/* Loading States */
.loading {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

.loading .spinner {
    margin-bottom: 10px;
}

/* Error States */
.error {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .coinleywp-merchant-card {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .coinleywp-admin {
        margin: 0 -10px -10px -10px;
        padding: 16px;
    }
    
    .coinleywp-header {
        padding: 24px;
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .coinleywp-header h1 {
        font-size: 28px !important;
    }
    
    .coinleywp-header p {
        font-size: 16px;
    }
    
    .coinleywp-merchant-card {
        padding: 24px;
        gap: 24px;
    }
    
    .coinleywp-stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .stat-card {
        padding: 24px;
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
        margin-right: 16px;
    }
    
    .stat-content h3 {
        font-size: 28px;
    }
    
    .coinleywp-recent-transactions {
        padding: 24px;
    }
    
    .section-header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .table-nav {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .coinleywp-modal-content {
        width: 95%;
        margin: 2% auto;
        max-height: 95vh;
    }
    
    .coinleywp-modal-header {
        padding: 20px 24px;
    }
    
    .detail-row {
        grid-template-columns: 1fr;
        gap: 8px;
        text-align: left;
    }
}

/* Table Overrides */
.coinleywp-admin .wp-list-table {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.coinleywp-admin .wp-list-table th {
    background: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
    font-weight: 700;
    color: #475569;
    padding: 16px 20px;
    font-size: 14px;
    letter-spacing: 0.025em;
}

.coinleywp-admin .wp-list-table td {
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
    padding: 16px 20px;
    font-weight: 500;
}

.coinleywp-admin .wp-list-table tr:hover {
    background: #f8fafc;
}

.coinleywp-admin .wp-list-table code {
    background: #f1f5f9;
    color: #475569;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 13px;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    letter-spacing: 0.025em;
}

.coinleywp-admin .wp-list-table .button {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.coinleywp-admin .wp-list-table .button:hover {
    background: #7C3AED;
    border-color: #7C3AED;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(124, 58, 237, 0.3);
}

/* Pagination */
.pagination-links a,
.pagination-links span {
    display: inline-block;
    padding: 10px 16px;
    margin: 0 4px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    color: #475569;
    font-weight: 600;
    transition: all 0.2s ease;
}

.pagination-links a:hover {
    background: #7C3AED;
    color: white;
    border-color: #7C3AED;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(124, 58, 237, 0.3);
}

.pagination-links .paging-input {
    background: #7C3AED;
    color: white;
    border-color: #7C3AED;
    font-weight: 700;
}

/* Hash Display */
.transaction-hash {
    font-family: monospace;
    font-size: 12px;
    background: #f8f9fa;
    padding: 2px 6px;
    border-radius: 3px;
    cursor: help;
}

/* WooCommerce Payment Settings - Wallet Configuration */
.woocommerce_page_wc-settings table.form-table tr:has(th:contains("🔐 Wallet Configuration")) th {
    background: linear-gradient(135deg, #7C3AED 0%, #A855F7 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.2);
    border: none;
}

.woocommerce_page_wc-settings table.form-table tr:has(th:contains("🔐 Wallet Configuration")) td {
    padding: 0;
}

.woocommerce_page_wc-settings table.form-table tr:has(th:contains("🔐 Wallet Configuration")) + tr td p {
    background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
    padding: 15px 20px;
    border-radius: 8px;
    margin: 10px 0;
    border-left: 4px solid #7C3AED;
    color: #1E293B;
    font-weight: 500;
}

/* Wallet address input fields */
.woocommerce_page_wc-settings input[id*="wallet"] {
    width: 100%;
    max-width: 500px;
    padding: 12px 16px;
    border: 2px solid #E2E8F0;
    border-radius: 8px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 13px;
    background: #FAFAFA;
    transition: all 0.3s ease;
}

.woocommerce_page_wc-settings input[id*="wallet"]:focus {
    border-color: #7C3AED;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
    background: white;
    outline: none;
}

.woocommerce_page_wc-settings input[id*="wallet"]:valid {
    border-color: #10B981;
    background: #F0FDF4;
}

.woocommerce_page_wc-settings input[id*="wallet"]:invalid:not(:placeholder-shown) {
    border-color: #EF4444;
    background: #FEF2F2;
}

/* Wallet field labels */
.woocommerce_page_wc-settings tr:has(input[id*="wallet"]) th label {
    font-weight: 600;
    color: #1E293B;
    display: flex;
    align-items: center;
    gap: 8px;
}

.woocommerce_page_wc-settings tr:has(input[id*="ethereum_wallet"]) th label:before {
    content: "⟠";
    color: #627EEA;
    font-size: 16px;
}

.woocommerce_page_wc-settings tr:has(input[id*="bsc_wallet"]) th label:before {
    content: "⚡";
    color: #F3BA2F;
    font-size: 16px;
}

.woocommerce_page_wc-settings tr:has(input[id*="polygon_wallet"]) th label:before {
    content: "⬟";
    color: #8247E5;
    font-size: 16px;
}

.woocommerce_page_wc-settings tr:has(input[id*="solana_wallet"]) th label:before {
    content: "◉";
    color: #9945FF;
    font-size: 16px;
}

/* Wallet configuration help text */
.woocommerce_page_wc-settings .wc-help-tip {
    color: #7C3AED;
}

.woocommerce_page_wc-settings tr:has(input[id*="wallet"]) .description {
    color: #64748B;
    font-size: 13px;
    font-style: italic;
    margin-top: 5px;
}

/* Enhanced error styling for wallet validation */
.woocommerce-message.error:has-text("wallet"),
.woocommerce-message.error:has-text("Wallet") {
    border-left-color: #EF4444;
    background: #FEF2F2;
    color: #DC2626;
}

/* Success message styling */
.woocommerce-message.updated:has-text("wallet"),
.woocommerce-message.updated:has-text("Wallet") {
    border-left-color: #10B981;
    background: #F0FDF4;
    color: #059669;
}

/* Wallet synchronization status */
.coinley-wallet-sync-status {
    margin: 20px 0 !important;
    padding: 15px !important;
    background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%) !important;
    border-radius: 8px !important;
    border-left: 4px solid #7C3AED !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
}

.coinley-wallet-sync-status h4 {
    margin: 0 0 10px 0 !important;
    color: #7C3AED !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
}

.coinley-wallet-sync-status h4 .dashicons {
    margin-right: 5px !important;
    font-size: 18px !important;
}

.coinley-wallet-sync-status p {
    margin: 0 !important;
    line-height: 1.5 !important;
}

.coinley-wallet-sync-status p.success {
    color: #00a32a !important;
    margin-bottom: 10px !important;
}

.coinley-wallet-sync-status p.error {
    color: #d63638 !important;
}

.coinley-wallet-sync-status .wallet-addresses {
    display: grid !important;
    gap: 8px !important;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace !important;
    font-size: 13px !important;
    margin: 10px 0 !important;
}

.coinley-wallet-sync-status .wallet-item {
    display: flex !important;
    align-items: center !important;
    padding: 8px 0 !important;
    border-bottom: 1px solid #E2E8F0 !important;
}

.coinley-wallet-sync-status .wallet-item:last-child {
    border-bottom: none !important;
}

.coinley-wallet-sync-status .wallet-network {
    min-width: 80px !important;
    color: #7C3AED !important;
    font-weight: 600 !important;
}

.coinley-wallet-sync-status .wallet-address {
    background: white !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
    margin-left: 10px !important;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace !important;
    font-size: 12px !important;
    color: #475569 !important;
    border: 1px solid #E2E8F0 !important;
}

.coinley-wallet-sync-status .note {
    margin: 10px 0 0 0 !important;
    font-size: 13px !important;
    color: #64748B !important;
    font-style: italic !important;
}

/* Wallet section mobile responsiveness */
@media (max-width: 768px) {
    .woocommerce_page_wc-settings input[id*="wallet"] {
        max-width: 100%;
        font-size: 12px;
    }
    
    .woocommerce_page_wc-settings tr:has(input[id*="wallet"]) th,
    .woocommerce_page_wc-settings tr:has(input[id*="wallet"]) td {
        display: block;
        width: 100%;
        padding: 10px 0;
    }
    
    .coinley-wallet-sync-status .wallet-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .coinley-wallet-sync-status .wallet-address {
        margin-left: 0;
        width: 100%;
        box-sizing: border-box;
    }
}

/* Enhanced Onboarding Notification Styles */
#coinleywp-notification-container {
    position: fixed;
    top: 32px;
    right: 32px;
    z-index: 999999;
    max-width: 400px;
    font-family: "Bricolage Grotesque", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.coinleywp-enhanced-notification {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid #E5E7EB;
    overflow: hidden;
    animation: coinleywp-notification-slide-in 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 16px;
    position: relative;
}

@keyframes coinleywp-notification-slide-in {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.coinleywp-enhanced-notification.slide-out {
    animation: coinleywp-notification-slide-out 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes coinleywp-notification-slide-out {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.coinleywp-enhanced-notification-header {
    padding: 24px 50px 16px 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.coinleywp-enhanced-notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    flex-shrink: 0;
}

.coinleywp-enhanced-notification.success .coinleywp-enhanced-notification-icon {
    background: linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 100%);
    color: #059669;
}

.coinleywp-enhanced-notification.error .coinleywp-enhanced-notification-icon {
    background: linear-gradient(135deg, #FEE2E2 0%, #FECACA 100%);
    color: #DC2626;
}

.coinleywp-enhanced-notification.warning .coinleywp-enhanced-notification-icon {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    color: #D97706;
}

.coinleywp-enhanced-notification.info .coinleywp-enhanced-notification-icon {
    background: linear-gradient(135deg, #DBEAFE 0%, #BFDBFE 100%);
    color: #2563EB;
}

.coinleywp-enhanced-notification-content {
    flex: 1;
    min-width: 0;
}

.coinleywp-enhanced-notification-title {
    font-size: 16px;
    font-weight: 600;
    color: #1F2937;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.coinleywp-enhanced-notification-message {
    font-size: 14px;
    color: #6B7280;
    margin: 0;
    line-height: 1.4;
}

.coinleywp-enhanced-notification-actions {
    padding: 8px 24px 24px 24px;
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.coinleywp-enhanced-notice-btn-primary {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #7C3AED;
    color: white;
}

.coinleywp-enhanced-notice-btn-primary:hover {
    background: #6D28D9;
}

.coinleywp-enhanced-notice-btn-secondary {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #F3F4F6;
    color: #374151;
}

.coinleywp-enhanced-notice-btn-secondary:hover {
    background: #E5E7EB;
}

.coinleywp-enhanced-notification-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 18px;
    color: #9CA3AF;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.coinleywp-enhanced-notification-close:hover {
    background: #F3F4F6;
    color: #374151;
}

/* Responsive notifications */
@media (max-width: 640px) {
    #coinleywp-notification-container {
        top: 20px;
        right: 20px;
        left: 20px;
        max-width: none;
    }
} 