/**
 * Custom CSS for FBA Shipment App
 */

/* General Styles */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    flex: 1;
}

/* Dashboard Cards */
.dashboard-card {
    transition: transform 0.3s;
    margin-bottom: 20px;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.dashboard-card .card-header {
    font-weight: bold;
}

.dashboard-card .card-body {
    padding: 20px;
}

.dashboard-card .card-footer {
    background-color: rgba(0, 0, 0, 0.03);
    padding: 10px 20px;
}

.dashboard-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #007bff;
}

/* Status Indicators */
.status-indicator {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
}

.status-pending {
    background-color: #ffc107; /* Warning yellow */
}

.status-in-progress {
    background-color: #17a2b8; /* Info blue */
}

.status-completed {
    background-color: #28a745; /* Success green */
}

.status-overdue {
    background-color: #dc3545; /* Danger red */
}

/* Deadline Indicators */
.deadline-success {
    color: #28a745;
}

.deadline-warning {
    color: #ffc107;
}

.deadline-danger {
    color: #dc3545;
}

/* Table Styles */
.table-hover tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.05);
}

.table th {
    background-color: #f8f9fa;
    border-top: none;
}

/* Form Styles */
.form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.required-field::after {
    content: " *";
    color: #dc3545;
}

/* Document Upload Area */
.document-upload-area {
    border: 2px dashed #dee2e6;
    border-radius: 5px;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.document-upload-area:hover {
    border-color: #007bff;
    background-color: rgba(0, 123, 255, 0.05);
}

.document-upload-area i {
    font-size: 3rem;
    color: #6c757d;
    margin-bottom: 10px;
}

/* Document Preview */
.document-preview {
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 15px;
}

.document-preview .document-icon {
    font-size: 2rem;
    color: #dc3545;
}

.document-preview .document-info {
    margin-left: 10px;
}

/* Document Status */
.document-status {
    margin-bottom: 8px;
}

.document-status .badge {
    margin-right: 5px;
}

/* Shipment Details */
.shipment-details .label {
    font-weight: bold;
    color: #6c757d;
}

.shipment-details .value {
    font-weight: normal;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .dashboard-icon {
        font-size: 2rem;
    }
    
    .document-upload-area {
        padding: 15px;
    }
    
    .document-upload-area i {
        font-size: 2rem;
    }
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
    }
    
    body {
        font-size: 12pt;
    }
    
    .card {
        border: none !important;
    }
    
    .card-header {
        background-color: #fff !important;
        color: #000 !important;
        border-bottom: 1px solid #000;
    }
}

