/* ===================================
   MuaGuestPost - Custom Styles
   Inspired by realize.com & taboola.com
   =================================== */

/* Realize-style dark green background */
.bg-realize {
    background:
        linear-gradient(90deg, transparent, transparent 70%, rgba(226, 231, 231, 0.05) 100%),
        linear-gradient(137deg, #005645, #005645);
}

.bg-realize-gradient {
    background: linear-gradient(137deg, #005645, #006b56);
}

/* Button Styles (Taboola-inspired) */
.btn-primary {
    background-color: #005645;
    color: #fff;
    border-radius: 50px;
    padding: 10px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #003d31;
    box-shadow: 0 4px 15px rgba(0, 86, 69, 0.3);
}

.btn-accent {
    background-color: #22c55e;
    color: #fff;
    border-radius: 50px;
    padding: 10px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-accent:hover {
    background-color: #16a34a;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

/* Card Styles */
.card {
    background: #fff;
    border: 1px solid #e2e7e7;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 86, 69, 0.1);
    border-color: rgba(0, 86, 69, 0.2);
}

/* Legacy neon-border (updated for new palette) */
.neon-border {
    border: 1px solid #e2e7e7;
    box-shadow: 0 1px 3px rgba(0, 86, 69, 0.06);
}

.neon-border:hover {
    border-color: rgba(0, 86, 69, 0.25);
    box-shadow: 0 8px 25px rgba(0, 86, 69, 0.1);
}

/* Glow Effects (subtle, professional) */
.neon-glow {
    box-shadow: 0 2px 10px rgba(0, 86, 69, 0.2);
}

.neon-glow:hover {
    box-shadow: 0 4px 20px rgba(0, 86, 69, 0.3);
}

.neon-glow-strong {
    box-shadow: 0 4px 20px rgba(0, 86, 69, 0.15),
                0 8px 40px rgba(0, 86, 69, 0.08);
}

/* Sidebar Scrollbar */
#sidebar::-webkit-scrollbar {
    width: 4px;
}

#sidebar::-webkit-scrollbar-track {
    background: transparent;
}

#sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.25);
    border-radius: 2px;
}

#sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* Card Hover Effect */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 86, 69, 0.12);
}

/* Fade In Up Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-delay-100 { animation-delay: 0.1s; opacity: 0; }
.animate-delay-200 { animation-delay: 0.2s; opacity: 0; }
.animate-delay-300 { animation-delay: 0.3s; opacity: 0; }
.animate-delay-400 { animation-delay: 0.4s; opacity: 0; }

/* Pulse Glow */
@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.3),
                    0 0 40px rgba(255, 255, 255, 0.1);
    }
}

.animate-pulse-glow {
    animation: pulseGlow 2s ease-in-out infinite;
}

/* Gradient text */
.text-gradient-neon {
    background: linear-gradient(135deg, #4ade80, #22c55e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glassmorphism (realize.com inspired) */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Section divider */
.section-surface {
    background-color: #f1f4f4;
}

/* Deposit Table Styles */
.deposit-table table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #e5e7eb;
}

.deposit-table table thead th {
    background-color: #f9fafb;
    padding: 10px 12px;
    text-align: left;
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid #e5e7eb;
    white-space: nowrap;
}

.deposit-table table tbody td {
    padding: 10px 12px;
    font-size: 13px;
    color: #374151;
    border: 1px solid #e5e7eb;
    vertical-align: middle;
}

.deposit-table table tbody tr:nth-child(even) {
    background-color: #f9fafb;
}

.deposit-table table tbody tr:hover {
    background-color: #ecfdf5;
}

.deposit-table table input.form-control,
.deposit-table table select.form-control {
    width: 100%;
    padding: 6px 8px;
    font-size: 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    background: #fff;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.deposit-table table input.form-control:focus,
.deposit-table table select.form-control:focus {
    border-color: #10b981;
    outline: none;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.15);
}

.deposit-table .summary {
    font-size: 13px;
    color: #6b7280;
}

.deposit-table .pagination {
    display: flex;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.deposit-table .pagination li a,
.deposit-table .pagination li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    color: #374151;
    text-decoration: none;
    transition: all 0.2s;
}

.deposit-table .pagination li a:hover {
    background-color: #f3f4f6;
    border-color: #d1d5db;
}

.deposit-table .pagination li.active a,
.deposit-table .pagination li.active span {
    background-color: #005645;
    border-color: #005645;
    color: #fff;
}

.deposit-table .pagination li.disabled a,
.deposit-table .pagination li.disabled span {
    color: #d1d5db;
    pointer-events: none;
}

/* Alpine cloak */
[x-cloak] {
    display: none !important;
}
