/* 
 * Custom Styles untuk CekWiFi - mengadopsi style dari website billing
 */

body {
    background: linear-gradient(135deg, #f5f7fa, #e4e8f0);
    background-attachment: fixed;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
}

/* Glass Card Styling */
.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    border-radius: 1rem;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #4338ca;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(99, 102, 241, 0.2);
}

/* Status Badge Styling */
.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-paid {
    background-color: #d1fae5;
    color: #065f46;
}

.status-unpaid {
    background-color: #fee2e2;
    color: #991b1b;
}

.status-overdue {
    background-color: #fef3c7;
    color: #92400e;
}

.status-cancelled {
    background-color: #e5e7eb;
    color: #374151;
}

/* Print styles */
@media print {
    body {
        background: white;
        padding: 0;
        margin: 0;
    }

    .glass-card {
        box-shadow: none;
        border: 1px solid #ddd;
        border-radius: 0;
        background: white;
    }

    .no-print {
        display: none;
    }

    .page-break {
        page-break-before: always;
    }
}

/* Navbar styling */
.navbar {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 16px rgba(31, 38, 135, 0.05);
}

/* Table styling */
.table th {
    font-weight: 600;
    color: #4338ca;
    background-color: rgba(99, 102, 241, 0.05);
}

.table-responsive {
    border-radius: 0.5rem;
    overflow: hidden;
}

/* Button styling */
.btn-primary {
    background-color: #4338ca;
    border-color: #4338ca;
}

.btn-primary:hover {
    background-color: #3730a3;
    border-color: #3730a3;
}

.btn-success {
    background-color: #047857;
    border-color: #047857;
}

.btn-success:hover {
    background-color: #065f46;
    border-color: #065f46;
}

/* Hover card effect */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Gradient backgrounds */
.gradient-bg {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

/* Fix for mobile */
@media (max-width: 767px) {
    .glass-card {
        padding: 1rem;
    }
}