/* INSTANTAL THEME - COMPLETE SITE STYLING */

/* ===== COLOR VARIABLES ===== */
:root {
    --primary: #3b82f6;
    --primary-dark: #1d4ed8;
    --primary-light: #60a5fa;
    --secondary: #10b981;
    --secondary-dark: #059669;
    --accent: #8b5cf6;
    --danger: #ef4444;
    --warning: #f59e0b;
    --success: #10b981;
    --dark: #1f2937;
    --light: #f8fafc;
    --gray: #6b7280;
    --border: #e5e7eb;
}

/* ===== GLOBAL STYLES ===== */
body {
    font-family: 'Inter', 'Poppins', sans-serif;
    background: var(--light);
}

.kt-content {
    background: var(--light) !important;
}

/* ===== BUTTONS ===== */
.btn {
    border-radius: 8px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    border: none !important;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3) !important;
}

.btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4) !important;
}

.btn-success {
    background: linear-gradient(135deg, var(--success), var(--secondary-dark)) !important;
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger), #dc2626) !important;
}

.btn-warning {
    background: linear-gradient(135deg, var(--warning), #d97706) !important;
}

/* ===== PRODUCT CARDS ===== */
.pricing {
    background: white !important;
    border-radius: 12px !important;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid var(--border) !important;
    transition: all 0.3s ease !important;
    overflow: hidden !important;
    margin-bottom: 15px !important;
}

.pricing:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15) !important;
    border-color: var(--primary) !important;
}

.pricing .price-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
    padding: 18px 12px 12px 12px !important;
    border-radius: 12px 12px 0 0 !important;
}

.pricing .price-header .title {
    color: white !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
    text-align: center !important;
}

.pricing .price {
    background: white !important;
    padding: 15px 12px !important;
    color: var(--success) !important;
    font-weight: 700 !important;
    font-size: 20px !important;
    text-align: center !important;
}

.pricing .price span {
    color: var(--gray) !important;
    font-weight: 600 !important;
    font-size: 13px !important;
}

.pricing .quantity {
    background: var(--light) !important;
    padding: 10px 12px !important;
    color: var(--gray) !important;
    font-size: 12px !important;
    text-align: center !important;
}

.pricing .p_content {
    background: white !important;
    padding: 15px 12px !important;
}

.pricing .p_content div {
    background: var(--light) !important;
    padding: 8px 10px !important;
    border-radius: 8px !important;
    margin-bottom: 8px !important;
}

/* ===== FORMS & INPUTS ===== */
.form-control {
    border-radius: 8px !important;
    border: 2px solid var(--border) !important;
    padding: 10px 15px !important;
    transition: all 0.3s ease !important;
}

.form-control:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
}

.select2-container .select2-selection--single {
    border-radius: 8px !important;
    border: 2px solid var(--border) !important;
    height: 42px !important;
}

/* ===== CARDS & CONTAINERS ===== */
.card {
    border-radius: 12px !important;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid var(--border) !important;
}

.kt-portlet {
    border-radius: 12px !important;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08) !important;
}

/* ===== TABLES ===== */
.table {
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08) !important;
}

.table thead th {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
    color: white !important;
    border: none !important;
    font-weight: 600 !important;
    padding: 15px !important;
}

.table tbody td {
    padding: 12px 15px !important;
    border-color: var(--border) !important;
}

/* ===== NAVIGATION ===== */
.kt-aside-menu .kt-menu__nav .kt-menu__item.kt-menu__item--active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
    border-radius: 8px !important;
    margin: 2px 8px !important;
}

.kt-aside-menu .kt-menu__nav .kt-menu__item.kt-menu__item--active .kt-menu__link {
    color: white !important;
}

/* ===== MODALS ===== */
.modal-content {
    border-radius: 16px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2) !important;
    border: none !important;
}

.modal-header {
    border-bottom: 1px solid var(--border) !important;
    border-radius: 16px 16px 0 0 !important;
}

/* ===== CAROUSEL ===== */
#owl-demo .item {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
    border-radius: 8px !important;
    color: white !important;
    text-align: center !important;
    padding: 15px 10px !important;
    margin: 8px !important;
    box-shadow: 0 3px 10px rgba(59, 130, 246, 0.3) !important;
}

/* ===== BADGES ===== */
.badge, .kt-badge {
    border-radius: 6px !important;
    font-weight: 600 !important;
    padding: 5px 10px !important;
}

.badge-success {
    background: var(--success) !important;
}

.badge-primary {
    background: var(--primary) !important;
}

.badge-warning {
    background: var(--warning) !important;
}

/* ===== ALERTS & NOTIFICATIONS ===== */
.alert {
    border-radius: 12px !important;
    border: none !important;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1) !important;
}

.alert-success {
    background: linear-gradient(135deg, var(--success), var(--secondary-dark)) !important;
    color: white !important;
}

.alert-danger {
    background: linear-gradient(135deg, var(--danger), #dc2626) !important;
    color: white !important;
}

/* ===== PAGINATION ===== */
.pagination .page-link {
    border-radius: 8px !important;
    margin: 0 3px !important;
    border: 1px solid var(--border) !important;
}

.pagination .page-item.active .page-link {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
}

/* ===== FOOTER ===== */
.kt-footer {
    background: var(--dark) !important;
    color: white !important;
}