/* Custom Styles for CBooking */

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f8f9fa;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

main {
    flex: 1;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

/* Logo styling */
.navbar-brand img {
    max-height: 44px;
    max-width: 220px;
    width: auto;
    object-fit: contain;
}

/* Auth card logo */
.card-header img[alt="Energy Thai Trading Hub"] {
    object-fit: contain;
}

.card {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    font-weight: 600;
    border-bottom: 2px solid #dee2e6;
    border-radius: 0.5rem 0.5rem 0 0 !important;
    padding: 1rem 1.25rem;
}

.btn {
    border-radius: 0.375rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #495057;
}

.alert {
    border-radius: 0.5rem;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.table {
    margin-bottom: 0;
}

.table thead th {
    font-weight: 600;
    border-bottom: 2px solid #dee2e6;
    background-color: #f8f9fa;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}

.badge {
    font-weight: 500;
    padding: 0.4em 0.65em;
}

/* Dashboard styles */
.dashboard-card {
    transition: all 0.3s ease;
    border-left: 4px solid #28a745;
    background: white;
}

.dashboard-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    border-left-width: 6px;
}

.dashboard-card .card-subtitle {
    font-size: 0.875rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.dashboard-card .card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 0;
}

/* Welcome section */
h2 {
    color: #212529;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

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

/* Quick Links */
.list-group-item {
    border: 1px solid #e9ecef;
    border-radius: 0.375rem;
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
}

.list-group-item:hover {
    background-color: #f8f9fa;
    border-color: #28a745;
    transform: translateX(4px);
}

.list-group-item h6 {
    font-weight: 600;
    color: #212529;
    margin-bottom: 0.25rem;
}

.list-group-item p {
    color: #6c757d;
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Page header */
.page-header {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .dashboard-card {
        margin-bottom: 1rem;
    }
    
    main {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}
