/* File: recruiter/assets/css/style.css */
body {
    background-color: #f8f9fa;
    font-family: 'Inter', sans-serif;
    color: #343a40;
}

.navbar-light {
    background-color: #ffffff !important;
    border-bottom: 1px solid #e9ecef;
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.5rem;
    color: #007bff !important;
}

.sidebar {
    background-color: #ffffff;
    padding: 20px 0;
    height: 100vh;
    position: fixed;
    width: 250px;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.05);
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
}

.sidebar-header h5 {
    margin: 0;
    font-size: 1.3rem;
    color: #007bff;
}

.nav-link {
    color: #495057;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    font-size: 1rem;
    border-radius: 8px;
    margin: 5px 10px;
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    background-color: #e7f1ff;
    transform: scale(1.02);
}

.nav-link i {
    font-size: 1.1rem;
}

.nav-link.text-danger {
    color: #dc3545 !important;
}

.nav-link.text-danger:hover {
    background-color: #ffe5e5;
}

.sidebar-mobile {
    background-color: #ffffff;
}

.sidebar-mobile .nav-link {
    color: #495057;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    font-size: 1rem;
    border-radius: 8px;
    margin: 5px 10px;
    transition: all 0.3s ease;
}

.sidebar-mobile .nav-link:hover, .sidebar-mobile .nav-link.active {
    background-color: #e7f1ff;
    transform: scale(1.02);
}

.sidebar-mobile .nav-link.text-danger {
    color: #dc3545 !important;
}

.sidebar-mobile .nav-link.text-danger:hover {
    background-color: #ffe5e5;
}

.offcanvas {
    background-color: #ffffff;
    z-index: 1050;
    width: 250px;
}

.offcanvas-title {
    color: #007bff;
}

.content {
    padding: 30px;
    margin-left: 250px;
    min-height: 100vh;
    background-color: #f8f9fa;
}

.card {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    background-color: #fff;
    padding: 20px;
}

h2, h4 {
    color: #343a40;
}

.form-label {
    font-weight: 600;
    color: #343a40;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    transition: background 0.2s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.login-card {
    max-width: 400px;
    width: 100%;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin: 50px auto;
    background-color: #fff;
}

.table-responsive {
    overflow-x: auto;
}

.employee-table {
    width: 100%;
    border-collapse: collapse;
}

.employee-table th, .employee-table td {
    vertical-align: middle;
    padding: 10px;
    border-bottom: 1px solid #e9ecef;
}

.employee-table th {
    background-color: #f1f4f8;
    font-weight: 600;
}

.employee-row {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #e9ecef;
    padding: 10px;
    margin-bottom: 10px;
    background-color: #fff;
    border-radius: 8px;
}

.employee-row td {
    flex: 1 1 100%;
    padding: 5px 0;
}

.employee-row .label {
    font-weight: 600;
    color: #343a40;
    margin-bottom: 2px;
}

.employee-row .btn-sm {
    font-size: 0.875rem;
    padding: 5px 10px;
}

.alert {
    border-radius: 8px;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }
    .content {
        margin-left: 0;
        padding: 15px;
    }
    .offcanvas {
        width: 250px;
    }
    .employee-row {
        display: flex;
        flex-direction: column;
        padding: 15px;
        margin-bottom: 15px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }
    .employee-row td {
        display: block;
        width: 100%;
    }
}

@media (min-width: 769px) {
    .offcanvas {
        display: none;
    }
    .employee-row {
        display: table-row;
    }
    .employee-row td {
        display: table-cell;
    }
}