body {
    margin: 0;
    overflow: hidden;
    font-family: Arial, sans-serif;
    background: #f4f6f9;
}



.topbar {
    height: 70px;
    background: #ffffff;
    border-bottom: 1px solid #ddd;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.main-content {
    margin-left: 247px;
  margin-right: 300px;
  min-height: 100vh;
  padding: 24px 28px;
  box-sizing: border-box;
}

.main-page .page-header {
    margin-bottom: 20px;
}

.main-page .page-header h2 {
    margin: 0 0 6px;
    font-size: 28px;
}

.main-page .page-header p {
    margin: 0;
    color: #666;
}

.outsourcing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.card {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.card h3 {
    margin-top: 0;
    margin-bottom: 16px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border: 1px solid #d5d9e0;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
    outline: none;
}

.form-group textarea {
    resize: vertical;
}

.btn-primary {
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 11px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
}

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

.alert {
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert.success {
    background: #dcfce7;
    color: #166534;
}

.alert.error {
    background: #fee2e2;
    color: #991b1b;
}

.table-responsive {
    overflow-x: auto;
}

.custom-table {
    width: 100%;
    border-collapse: collapse;
}

.custom-table th,
.custom-table td {
    padding: 12px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
    font-size: 14px;
}

.custom-table th {
    background: #f9fafb;
    font-weight: 700;
}

.status-badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.status-sent {
    background: #dbeafe;
    color: #1d4ed8;
}

.status-contract_pending,
.status-contract_accepted {
    background: #fef3c7;
    color: #92400e;
}

.status-responded,
.status-approved {
    background: #dcfce7;
    color: #166534;
}

.status-rejected,
.status-cancelled,
.status-expired {
    background: #fee2e2;
    color: #991b1b;
}

.status-held {
    background: #e0e7ff;
    color: #4338ca;
}