body.woocommerce-account {
    background: #1a2332;
    color: #a0aec0;
}

.woocommerce-MyAccount-navigation,
.woocommerce-MyAccount-content {
    background: transparent;
}

.loboguard-dashboard {
    color: white;
    padding: 3rem 2rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
    box-shadow: 0 0 20px 40px rgba(0, 0, 0, 0.3);
}

.dashboard-header {
    text-align: center;
    margin-bottom: 3rem;
}

.dashboard-header h1 {
    font-size: 2.5rem;
    margin: 0 0 0.5rem 0;
    font-weight: 300;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.dashboard-header p {
    opacity: 0.9;
    font-size: 1.1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-content .stat-number {
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1;
}

.stat-content .stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.dashboard-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.loboguard-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 10;
}

.loboguard-btn-outline {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

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

.loboguard-btn-primary {
    background: #10b981;
    color: white;
    border: 1px solid #10b981;
}

.loboguard-btn-primary:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.loboguard-btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

.licenses-section {
    background: #2d3748;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.no-licenses-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #a0aec0;
    background: #2d3748;
}

.empty-icon {
    margin-bottom: 2rem;
    opacity: 0.5;
    color: #4a5568;
}

.no-licenses-state h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #e2e8f0;
}

.licenses-filters {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #4a5568;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
    background: #2d3748;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 300px;
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid #4a5568;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    background: #1a202c;
    color: #e2e8f0;
}

.search-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.search-input::placeholder {
    color: #718096;
}

.search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #718096;
}

.filter-controls {
    display: flex;
    gap: 1rem;
}

.filter-select {
    padding: 0.75rem 1rem;
    border: 1px solid #4a5568;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    background: #1a202c;
    color: #e2e8f0;
}

.filter-select:focus {
    outline: none;
    border-color: #667eea;
}

.licenses-container {
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    background: #2d3748;
}

.license-card {
	background: none!important;
    border: 1px solid #4a5568;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #1a202c;
    position: relative;
    z-index: 1;
}

.license-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-color: #667eea;
    transform: translateY(-2px);
}

.license-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, #4a5568, #2d3748);
    border-bottom: 1px solid #4a5568;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.license-info .license-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: #e2e8f0;
}

.license-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-trial,
.badge-trial-60 {
    background: linear-gradient(135deg, #9ca3af, #6b7280);
    color: #ffffff;
}

.badge-basic {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #ffffff;
}

.badge-pro {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #ffffff;
}

.badge-max {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff;
}

.license-status {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-active {
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: white;
    box-shadow: 0 2px 8px rgba(72, 187, 120, 0.3);
}

.status-expired {
    background: linear-gradient(135deg, #f56565, #e53e3e);
    color: white;
    box-shadow: 0 2px 8px rgba(245, 101, 101, 0.3);
}

.status-inactive {
    background: linear-gradient(135deg, #a0aec0, #718096);
    color: white;
}

.status-suspended {
    background: linear-gradient(135deg, #f56e28, #e53e3e);
    color: white;
    box-shadow: 0 2px 8px rgba(245, 110, 40, 0.3);
    animation: suspendedPulse 2s infinite;
}

.status-revoked {
    background: linear-gradient(135deg, #8c8f94, #6c6f78);
    color: white;
    opacity: 0.8;
}

@keyframes suspendedPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.license-body {
    padding: 1.5rem;
    background: #1a202c;
}

.license-key-section {
    margin-bottom: 1.5rem;
}

.license-key-section label {
    display: block;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.key-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #2d3748;
    border: 1px solid #4a5568;
    border-radius: 0.5rem;
    padding: 0.75rem;
    position: relative;
    z-index: 5;
}

.key-value {
    flex: 1;
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 0.875rem;
    color: #a0aec0;
    background: transparent;
    border: none;
}

.key-actions {
    display: flex;
    gap: 0.25rem;
    position: relative;
    z-index: 10;
}

.loboguard-key-btn {
    min-width: 60px;
    height: 32px;
    border: 1px solid #4a5568;
    background: #2d3748;
    border-radius: 0.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0aec0;
    transition: all 0.2s;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 15;
}

.loboguard-key-btn:hover {
    background: #4a5568;
    color: #e2e8f0;
    border-color: #667eea;
}

.loboguard-key-btn.copied {
    background: #48bb78;
    color: white;
    border-color: #48bb78;
}

.license-details {
    color: #a0aec0;
}

.detail-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
}

.detail-item {
    flex: 1;
}

.detail-item label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #718096;
    margin-bottom: 0.25rem;
}

.detail-item span,
.detail-item a {
    color: #e2e8f0;
    font-weight: 500;
}

.order-link {
    color: #667eea;
    text-decoration: none;
}

.order-link:hover {
    text-decoration: underline;
    color: #764ba2;
}

.feature-count {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.license-actions {
    padding: 1rem 1.5rem;
    background: #2d3748;
    border-top: 1px solid #4a5568;
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    position: relative;
    z-index: 5;
}

.license-actions .loboguard-btn-outline {
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    color: #667eea;
}

.license-actions .loboguard-btn-outline:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: #667eea;
}

.loboguard-customer-message {
    margin: 1rem 0;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    display: none;
}

.loboguard-customer-message.success {
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: white;
    border: 1px solid #48bb78;
}

.loboguard-customer-message.error {
    background: linear-gradient(135deg, #f56565, #e53e3e);
    color: white;
    border: 1px solid #f56565;
}

.loboguard-customer-message.info {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: 1px solid #667eea;
}

.loboguard-customer-message p {
    margin: 0;
}

.license-card[data-status="suspended"] {
    border-color: #f56e28;
    background: linear-gradient(135deg, #1a202c, #2d1b0f);
}

.license-card[data-status="suspended"] .license-header {
    background: linear-gradient(135deg, #f56e28, #e53e3e);
}

.license-card[data-status="suspended"]::before {
    content: "SUSPENDED";
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(245, 110, 40, 0.9);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: bold;
    z-index: 10;
    animation: suspendedBlink 1.5s infinite;
}

@keyframes suspendedBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.license-card[data-status="revoked"] {
    border-color: #8c8f94;
    background: linear-gradient(135deg, #1a202c, #1c1c1c);
    opacity: 0.7;
}

.license-card[data-status="revoked"] .license-header {
    background: linear-gradient(135deg, #8c8f94, #6c6f78);
}

.license-card[data-status="revoked"]::before {
    content: "REVOKED";
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(140, 143, 148, 0.9);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: bold;
    z-index: 10;
}

@media (max-width: 768px) {
    .loboguard-dashboard {
        padding: 2rem 1rem;
    }
    
    .dashboard-header h1 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
    
    .licenses-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        min-width: auto;
    }
    
    .filter-controls {
        justify-content: stretch;
    }
    
    .filter-select {
        flex: 1;
    }
    
    .licenses-container {
        padding: 1rem;
        grid-template-columns: 1fr;
    }
    
    .detail-row {
        gap: 1rem;
    }
    
    .dashboard-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .loboguard-btn {
        min-width: 200px;
        justify-content: center;
    }

    .license-actions {
        padding: 1rem 1.5rem;
        background: #2d3748;
        border-top: 1px solid #4a5568;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        gap: 0.5rem;
        /* position: relative; */
        z-index: 5;
    }

    .key-display {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        background: #2d3748;
        border: 1px solid #4a5568;
        border-radius: 0.5rem;
        padding: 0.75rem;
        position: relative;
        z-index: 5;
    }

}