/* Pak Sender — app-layout.css (extracted verbatim from layouts/app.blade.php inline <style>, Nov 21 2026 perf pass; no rules changed, only moved to a cacheable file) */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --success-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --warning-gradient: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --danger-gradient: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    --dark-gradient: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

.gradient-bg {
    background: var(--primary-gradient);
}

.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.btn {
    border-radius: 10px;
    font-weight: 500;
    padding: 12px 24px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-gradient);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: translateY(-2px);
}

.btn-success {
    background: var(--success-gradient);
    border: none;
}

.btn-warning {
    background: var(--warning-gradient);
    border: none;
    color: #fff;
}

.btn-danger {
    background: var(--danger-gradient);
    border: none;
}

.form-control {
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 16px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link:hover {
    transform: translateY(-1px);
}

.nav-link.active {
    color: #667eea !important;
    font-weight: 600;
    background: rgba(102, 126, 234, 0.1) !important;
    border-radius: 8px;
}

.alert {
    border: none;
    border-radius: 10px;
    padding: 1rem 1.5rem;
}

.badge {
    border-radius: 6px;
    padding: 0.5em 0.75em;
}

.progress {
    height: 8px;
    border-radius: 4px;
    background-color: #e2e8f0;
}

.progress-bar {
    border-radius: 4px;
}

.table {
    border-radius: 10px;
    overflow: hidden;
}

.table thead th {
    background: var(--primary-gradient);
    color: white;
    border: none;
    font-weight: 600;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

.modal-content {
    border: none;
    border-radius: 15px;
}

.modal-header {
    border-bottom: 1px solid #e2e8f0;
    padding: 1.5rem;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    border-top: 1px solid #e2e8f0;
    padding: 1.5rem;
}

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Stats cards */
.stats-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    border: none;
    transition: all 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-3px);
}

.stats-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

.stats-icon.primary {
    background: var(--primary-gradient);
}

.stats-icon.success {
    background: var(--success-gradient);
}

.stats-icon.warning {
    background: var(--warning-gradient);
}

.stats-icon.danger {
    background: var(--danger-gradient);
}

/* Footer Styles */
.footer-modern {
    position: relative;
}

.footer-link {
    opacity: 0.8;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-link:hover {
    opacity: 1;
    color: #ffd700 !important;
    transform: translateX(5px);
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.2);
}

.contact-icon {
    width: 20px;
    text-align: center;
}

/* never let a decorative element create sideways scrolling on phones */
html, body { overflow-x: hidden; max-width: 100%; }
img, iframe, video { max-width: 100%; }

/* Responsive improvements */
@media (max-width: 768px) {
    .card {
        margin-bottom: 1rem;
    }

    .btn {
        padding: 10px 20px;
    }

    .footer-modern .row.g-4>* {
        margin-bottom: 2rem;
    }

    .social-links .d-flex {
        justify-content: center;
    }
}
    
/* ---- Button size normalization (buttons were rendering oversized) ----
   Caps padding/font so every button is a sane, consistent size.
   Colour, gradient and rounded shape are left untouched. */
.btn { padding: .5rem 1rem !important; font-size: .95rem !important; line-height: 1.4 !important; border-radius: .5rem !important; }
.btn-sm, .btn-group-sm > .btn { padding: .3rem .7rem !important; font-size: .82rem !important; }
.btn-lg, .btn-group-lg > .btn { padding: .6rem 1.2rem !important; font-size: 1rem !important; }
.btn i, .btn svg { font-size: 1em !important; width: auto !important; height: auto !important; }

    
/* ---- Mobile polish (added) ---- */
@media (max-width: 767.98px) {
    .card-body { padding: 1rem; }
    h1, .h1 { font-size: 1.55rem; }
    h2, .h2 { font-size: 1.3rem; }
    h3, .h3 { font-size: 1.15rem; }
    .table-responsive { -webkit-overflow-scrolling: touch; }
    .container table.table, .container-fluid table.table, main table.table {
        display: block; width: 100%; max-width: 100%; overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch;
    }
    pre { overflow-x: auto; }
    .btn { white-space: normal; }
    body { overflow-x: hidden; }
}
