/**
 * =====================================
 * Baltic Auto Shipping - Custom Styles
 * =====================================
 */

/* ===== GLOBAL ===== */

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #f5f7fa;
    color: #111827;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

/* ===== LAYOUT ===== */

.app-container {
    display: flex;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    padding: 20px;
}

/* ===== CARDS ===== */

.card {
    border-radius: 14px;
    border: none;
    transition: 0.2s;
}

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

/* ===== TABLES ===== */

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

.table thead {
    background: #f9fafb;
}

.table th {
    font-weight: 600;
    font-size: 14px;
    color: #374151;
}

.table td {
    vertical-align: middle;
}

/* ===== BADGES ===== */

.badge {
    font-size: 12px;
    padding: 6px 8px;
    border-radius: 8px;
}

/* ===== BUTTONS ===== */

.btn {
    border-radius: 10px;
    font-weight: 500;
}

.btn-primary {
    background: #2563eb;
    border: none;
}

.btn-primary:hover {
    background: #1d4ed8;
}

/* ===== FORMS ===== */

.form-control {
    border-radius: 10px;
    padding: 10px 12px;
}

.form-select {
    border-radius: 10px;
    padding: 10px 12px;
}

.form-label {
    font-weight: 500;
    color: #374151;
}

/* ===== ALERTS ===== */

.alert {
    border-radius: 10px;
}

/* ===== SIDEBAR FIX ===== */

.sidebar {
    min-height: 100vh;
}

/* ===== NAVBAR ===== */

.navbar-custom {
    position: sticky;
    top: 0;
    z-index: 100;
}

/* ===== STATUS COLORS (optional enhancement) ===== */

.badge.bg-secondary {
    background: #6b7280 !important;
}

.badge.bg-success {
    background: #16a34a !important;
}

.badge.bg-danger {
    background: #dc2626 !important;
}

.badge.bg-dark {
    background: #111827 !important;
}

/* ===== SMALL TEXT ===== */

small {
    color: #6b7280;
}

/* ===== SCROLL ===== */

.table-responsive {
    max-height: 600px;
    overflow-y: auto;
}

/* ===== HOVER EFFECTS ===== */

.table tbody tr:hover {
    background-color: #f3f4f6;
}

/* ===== UTILITIES ===== */

.text-muted {
    color: #6b7280 !important;
}

.shadow-sm {
    box-shadow: 0 2px 6px rgba(0,0,0,0.05) !important;
}