/* Import Bootstrap */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css');

/* Custom styles */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

.page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.header {
    background-color: #f8f9fa;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

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

.navbar-end {
    display: flex;
    gap: 1rem;
}

.navbar-item {
    color: #333;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.navbar-item:hover {
    background-color: #e9ecef;
}

.main {
    flex: 1;
    padding: 2rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer {
    background-color: #f8f9fa;
    padding: 1rem 0;
    margin-top: auto;
    border-top: 1px solid #dee2e6;
}

.content {
    line-height: 1.6;
}

.nav-link {
    font-weight: 500;
}

/* Form styles */
.form-group {
    margin-bottom: 1rem;
}

.form-control {
    border-radius: 0.25rem;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

/* Validation styles */
.validation-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Dashboard styles */
.dashboard-header {
    margin-bottom: 2rem;
}

.dashboard-content {
    background-color: #fff;
    border-radius: 0.25rem;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
    padding: 1.5rem;
}

/* Status badges */
.badge {
    padding: 0.5em 1em;
    font-weight: 500;
}

.badge-complete {
    background-color: var(--success-color);
    color: white;
}

.badge-in-progress {
    background-color: var(--info-color);
    color: white;
}

.badge-pending {
    background-color: var(--warning-color);
    color: black;
}

/* Table styles */
.table {
    margin-top: 1rem;
}

.table th {
    font-weight: 600;
    background-color: #f8f9fa;
}

/* Footer */
.footer {
    background-color: #f8f9fa;
    padding: 1rem 0;
    margin-top: 2rem;
    border-top: 1px solid #dee2e6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .table-responsive {
        margin: 0 -1rem;
    }
}

/* Job Cards table specific styles */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0; /* Remove all margins */
}

.table-responsive table {
    width: 100%;
    min-width: 920px; /* Updated minimum width for new column structure */
}

/* Ensure table cells don't wrap unnecessarily */
.table-responsive th,
.table-responsive td {
    white-space: nowrap;
    padding-left: 0.25rem; /* Further reduce cell padding */
    padding-right: 0.25rem;
}

/* Allow text wrapping only for specific columns */
.table-responsive th:last-child,
.table-responsive th:nth-last-child(2),
.table-responsive th:nth-last-child(3),
.table-responsive td:last-child,
.table-responsive td:nth-last-child(2),
.table-responsive td:nth-last-child(3) {
    white-space: normal;
    word-wrap: break-word;
}

/* Reduce card body padding for job cards */
.card-body.p-0 {
    padding: 0 !important;
}

/* Reduce container padding for job cards page */
.container-fluid {
    padding-left: 0.25rem; /* Further reduce left padding */
    padding-right: 0.25rem; /* Further reduce right padding */
}

/* Reduce card margins */
.card {
    margin-left: 0;
    margin-right: 0;
}

/* Remove extra padding from row and column classes on job cards page */
.row {
    margin-left: 0;
    margin-right: 0;
}

.col-12 {
    padding-left: 0;
    padding-right: 0;
} 