/* ULTIMATE PREMIUM BUTTONS - BULLETPROOF OVERRIDE */
/* This file MUST load last to override everything */

/* Force button styling - Override ALL possible conflicts */
a.btn-premium,
button.btn-premium,
.btn-premium,
html body a.btn-premium,
html body button.btn-premium,
html body .btn-premium,
html body form button.btn-premium,
html body form a.btn-premium,
html body td a.btn-premium,
html body td button.btn-premium,
html body div a.btn-premium,
html body div button.btn-premium,
body.admin-page a.btn-premium,
body.admin-page button.btn-premium,
body.admin-page .btn-premium,
.admin-content a.btn-premium,
.admin-content button.btn-premium {
    /* CRITICAL: Force button appearance */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    
    /* Sizing - Fixed */
    padding: 0.75rem 1.5rem !important;
    min-height: 44px !important;
    min-width: 80px !important;
    
    /* Typography */
    font-weight: 600 !important;
    font-size: 0.9375rem !important;
    line-height: 1.5 !important;
    text-align: center !important;
    text-decoration: none !important;
    
    /* Appearance */
    -webkit-appearance: none !important;
    appearance: none !important;
    border: none !important;
    border-radius: 0.75rem !important;
    cursor: pointer !important;
    
    /* Remove any conflicting styles */
    background: linear-gradient(135deg, #a6ed0b 0%, #249424 100%) !important;
    background-image: linear-gradient(135deg, #a6ed0b 0%, #249424 100%) !important;
    color: #000 !important;
    
    /* Visual effects */
    box-shadow: 0 10px 15px -3px rgba(166, 237, 11, 0.3), 0 4px 6px -2px rgba(166, 237, 11, 0.2) !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    
    /* Ensure visibility */
    opacity: 1 !important;
    visibility: visible !important;
    white-space: nowrap !important;
}

/* PRIMARY - Brand Green */
a.btn-premium-primary,
button.btn-premium-primary,
.btn-premium.btn-premium-primary,
html body a.btn-premium-primary,
html body button.btn-premium-primary {
    background: linear-gradient(135deg, #a6ed0b 0%, #249424 100%) !important;
    background-image: linear-gradient(135deg, #a6ed0b 0%, #249424 100%) !important;
    background-color: transparent !important;
    color: #000 !important;
    box-shadow: 0 10px 15px -3px rgba(166, 237, 11, 0.3), 0 4px 6px -2px rgba(166, 237, 11, 0.2) !important;
}

a.btn-premium-primary:hover,
button.btn-premium-primary:hover {
    background: linear-gradient(135deg, #249424 0%, #a6ed0b 100%) !important;
    background-image: linear-gradient(135deg, #249424 0%, #a6ed0b 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 20px 25px -5px rgba(166, 237, 11, 0.4), 0 10px 10px -5px rgba(166, 237, 11, 0.2) !important;
    color: #fff !important;
}

/* SECONDARY - Blue */
a.btn-premium-secondary,
button.btn-premium-secondary,
.btn-premium.btn-premium-secondary,
html body a.btn-premium-secondary,
html body button.btn-premium-secondary {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%) !important;
    background-image: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%) !important;
    background-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.3), 0 4px 6px -2px rgba(59, 130, 246, 0.2) !important;
}

a.btn-premium-secondary:hover,
button.btn-premium-secondary:hover {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%) !important;
    background-image: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 20px 25px -5px rgba(59, 130, 246, 0.4), 0 10px 10px -5px rgba(59, 130, 246, 0.2) !important;
}

/* SUCCESS - Green */
a.btn-premium-success,
button.btn-premium-success,
.btn-premium.btn-premium-success,
html body a.btn-premium-success,
html body button.btn-premium-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    background-image: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    background-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.3), 0 4px 6px -2px rgba(16, 185, 129, 0.2) !important;
}

a.btn-premium-success:hover,
button.btn-premium-success:hover {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
    background-image: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 20px 25px -5px rgba(16, 185, 129, 0.4), 0 10px 10px -5px rgba(16, 185, 129, 0.2) !important;
}

/* DANGER - Red */
a.btn-premium-danger,
button.btn-premium-danger,
.btn-premium.btn-premium-danger,
html body a.btn-premium-danger,
html body button.btn-premium-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    background-image: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    background-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 10px 15px -3px rgba(239, 68, 68, 0.3), 0 4px 6px -2px rgba(239, 68, 68, 0.2) !important;
}

a.btn-premium-danger:hover,
button.btn-premium-danger:hover {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%) !important;
    background-image: linear-gradient(135deg, #dc2626 0%, #ef4444 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 20px 25px -5px rgba(239, 68, 68, 0.4), 0 10px 10px -5px rgba(239, 68, 68, 0.2) !important;
}

/* OUTLINE */
a.btn-premium-outline,
button.btn-premium-outline,
.btn-premium.btn-premium-outline {
    background: transparent !important;
    background-image: none !important;
    color: #a6ed0b !important;
    border: 2px solid #a6ed0b !important;
    box-shadow: none !important;
}

a.btn-premium-outline:hover,
button.btn-premium-outline:hover {
    background: #a6ed0b !important;
    color: #000 !important;
    transform: translateY(-2px) !important;
}

/* GHOST */
a.btn-premium-ghost,
button.btn-premium-ghost,
.btn-premium.btn-premium-ghost {
    background: rgba(166, 237, 11, 0.1) !important;
    color: #a6ed0b !important;
    border: 1px solid rgba(166, 237, 11, 0.3) !important;
    box-shadow: none !important;
}

a.btn-premium-ghost:hover,
button.btn-premium-ghost:hover {
    background: rgba(166, 237, 11, 0.2) !important;
    border-color: #a6ed0b !important;
    transform: translateY(-2px) !important;
}

/* Sizes */
.btn-premium-sm,
a.btn-premium-sm,
button.btn-premium-sm {
    padding: 0.5rem 1rem !important;
    font-size: 0.875rem !important;
    min-height: 36px !important;
}

.btn-premium-lg,
a.btn-premium-lg,
button.btn-premium-lg {
    padding: 1rem 2rem !important;
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    min-height: 52px !important;
}
