
/* =========================================
   Blue - Purple - Cyan - Pink Theme
   Clean & Responsive CSS
   ========================================= */

/* Base */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    background: #f6f8fc;
}

/* Cards, Panels & Containers */
.card,
.panel,
.box,
.modal-content,
.dropdown-menu {
    border: 1px solid #eee7fc;
    border: 1px solid rgba(124, 58, 237, 0.10);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.10);
    overflow: hidden;
}

/* Gradient Headers */
.card-header,
.panel-heading,
.box-header {
    color: #ffffff;
    background: linear-gradient(
        135deg,
        #2563eb 0%,
        #7c3aed 38%,
        #06b6d4 68%,
        #ec4899 100%
    );
    border: 0;
}

/* Gradient Buttons */
.btn-primary,
.btn-success,
.btn-info,
.btn-warning,
.btn-danger,
.btn-gradient,
button[type="submit"],
input[type="submit"] {
    color: #ffffff;
    border: 0;
    background: linear-gradient(
        135deg,
        #06b6d4 0%,
        #2563eb 38%,
        #7c3aed 70%,
        #ec4899 100%
    );
    box-shadow: 0 7px 18px rgba(124, 58, 237, 0.20);
    transition: transform 0.2s ease, filter 0.2s ease;
}

.btn-primary:hover,
.btn-success:hover,
.btn-info:hover,
.btn-warning:hover,
.btn-danger:hover,
.btn-gradient:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
    color: #ffffff;
    transform: translateY(-1px);
    filter: saturate(1.08);
}

/* Form Controls */
.form-control,
.form-select,
select,
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]),
textarea {
    border: 1px solid #d9e2ef;
    border-radius: 10px;
}

/* Form Focus */
.form-control:focus,
.form-select:focus,
select:focus,
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]):focus,
textarea:focus {
    border-color: #7c3aed;
    box-shadow: 0 0 0 0.2rem rgba(124, 58, 237, 0.12);
    outline: 0;
}

/* Table Headers */
.table thead th {
    color: #ffffff;
    background: linear-gradient(
        135deg,
        #2563eb 0%,
        #7c3aed 38%,
        #06b6d4 68%,
        #ec4899 100%
    );
    border: 0;
}

/* Active Tabs & Pagination */
.nav-tabs .nav-link.active,
.pagination .active .page-link {
    color: #ffffff;
    background: #7c3aed;
    border-color: transparent;
}

/* Badges & Labels */
.badge,
.label {
    border-radius: 999px;
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

/* =========================================
   Tablet & Mobile
   ========================================= */

@media (max-width: 767.98px) {
    body {
        font-size: 14px;
    }

    .container,
    .container-fluid {
        padding-right: 12px;
        padding-left: 12px;
    }

    .card,
    .panel,
    .box {
        margin-bottom: 14px;
        border-radius: 13px;
    }

    .card-header,
    .panel-heading,
    .box-header {
        padding: 13px 14px;
    }

    .card-body {
        padding: 14px;
    }

    .form-control,
    .form-select,
    select,
    input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]),
    textarea {
        min-height: 44px;
        font-size: 15px;
    }

    .btn,
    button {
        min-height: 42px;
    }

    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .mobile-full,
    .btn-block {
        width: 100%;
    }
}

/* Small Mobile Screens */
@media (max-width: 420px) {
    .card-header h1,
    .card-header h2,
    .card-header h3,
    .card-header h4,
    .card-header h5,
    .card-header h6 {
        font-size: 15px;
    }

    .card-body {
        padding: 12px;
    }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .btn-primary,
    .btn-success,
    .btn-info,
    .btn-warning,
    .btn-danger,
    .btn-gradient,
    button[type="submit"],
    input[type="submit"] {
        transition: none;
    }
}