/* 
 * HR Portal Custom Styles
 */

/* General styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
}

a {
    color: #0d6efd;
    text-decoration: none;
}

a:hover {
    color: #0a58ca;
    text-decoration: underline;
}

/* Header and navigation */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

/* Cards */
.card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

.card-title {
    font-weight: 600;
}

.card-footer {
    background-color: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Job listings */
.job-listing {
    padding: 1.5rem;
    border-radius: 0.5rem;
    background-color: #fff;
    margin-bottom: 1.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: all 0.3s ease;
}

.job-listing:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

.job-title {
    font-weight: 700;
    color: #0d6efd;
    margin-bottom: 0.5rem;
}

.job-meta {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.job-meta i {
    margin-right: 0.25rem;
    width: 16px;
    text-align: center;
}

.job-meta span {
    margin-right: 1rem;
}

.job-description {
    margin-bottom: 1rem;
}

/* Job details page */
.job-header {
    background-color: #fff;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin-bottom: 2rem;
}

.job-content {
    background-color: #fff;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.job-section {
    margin-bottom: 2rem;
}

.job-section h3 {
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e9ecef;
}

.apply-btn {
    margin-top: 1rem;
}

/* Application form */
.form-section {
    background-color: #fff;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin-bottom: 2rem;
}

.form-label {
    font-weight: 600;
}

.required-field::after {
    content: "*";
    color: #dc3545;
    margin-left: 0.25rem;
}

/* Admin panel */
.admin-sidebar {
    background-color: #343a40;
    color: #fff;
    min-height: calc(100vh - 56px);
    padding: 1.5rem 0;
}

.admin-sidebar .nav-link {
    color: rgba(255, 255, 255, 0.75);
    padding: 0.5rem 1.5rem;
}

.admin-sidebar .nav-link:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

.admin-sidebar .nav-link.active {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.2);
}

.admin-sidebar .nav-link i {
    margin-right: 0.5rem;
    width: 20px;
    text-align: center;
}

.admin-content {
    padding: 1.5rem;
}

.admin-card {
    margin-bottom: 1.5rem;
}

.admin-card .card-header {
    font-weight: 600;
    background-color: #f8f9fa;
}

/* Dashboard stats */
.stat-card {
    text-align: center;
    padding: 1.5rem;
}

.stat-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #0d6efd;
}

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-card .stat-label {
    font-size: 1rem;
    color: #6c757d;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .job-meta span {
        display: block;
        margin-bottom: 0.5rem;
    }
    
    .admin-sidebar {
        min-height: auto;
    }
}

/* Utility classes */
.text-muted {
    color: #6c757d !important;
}

.bg-light-gray {
    background-color: #f8f9fa;
}

.border-bottom {
    border-bottom: 1px solid #e9ecef !important;
}

/* Social sharing buttons */
.social-share {
    margin-top: 1rem;
}

.social-share a {
    display: inline-block;
    margin-right: 0.5rem;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border-radius: 50%;
    color: #fff;
}

.social-share a.facebook {
    background-color: #3b5998;
}

.social-share a.twitter {
    background-color: #1da1f2;
}

.social-share a.linkedin {
    background-color: #0077b5;
}

.social-share a:hover {
    opacity: 0.9;
    transform: scale(1.1);
}
