/* Al Qamar Cargo - Modern UI Global Styles */

:root {
    --maroon: #7a0f1d;
    --maroon-dark: #5a0b15;
    --accent: #f39c12;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --radius-md: 6px;
    --radius-lg: 10px;
    --transition: all 0.2s ease;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    font-family: 'Inter', 'Segoe UI', sans-serif;
    line-height: 1.4;
    font-size: 0.875rem; /* Reduced base font size */
    overflow-x: hidden;
}

/* Typography */
h1 { font-size: 1.5rem; font-weight: 700; }
h2 { font-size: 1.25rem; font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
h5 { font-size: 0.9rem; font-weight: 700; }

/* Global Container */
.main-content {
    padding: 1.25rem 1rem;
    min-height: calc(100vh - 120px);
}

/* Modern Cards */
.modern-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color); /* Added subtle border */
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
}

.modern-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Modern Forms */
.form-label {
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--text-main);
    margin-bottom: 0.35rem;
}

.form-control, .form-select {
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    padding: 0.45rem 0.75rem; /* Reduced padding */
    font-size: 0.85rem;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--maroon);
    box-shadow: 0 0 0 3px rgba(122, 15, 29, 0.1);
}

/* Buttons */
.btn-modern {
    padding: 0.45rem 1rem; /* Reduced padding */
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.btn-modern-primary {
    background: var(--maroon);
    color: var(--white);
    border: none;
}

.btn-modern-primary:hover {
    background: var(--maroon-dark);
    color: var(--white);
    transform: translateY(-1px);
}

/* Utility */
.text-maroon { color: var(--maroon); }
.bg-maroon { background-color: var(--maroon); }
.rounded-lg { border-radius: var(--radius-lg) !important; }
.shadow-premium { box-shadow: var(--shadow-lg) !important; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .main-content {
        padding: 1rem 0.5rem;
    }
}
