﻿html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    display: flex;
    min-height: 100vh;
    flex-direction: row;
    margin: 0;
}

.sidebar {
    width: 240px;
    background-color: #f8fdf9; /* light green tint */
    border-right: 1px solid #dee2e6;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
}

.sidebar h4 {
    color: #1a531b;
    font-weight: 700;
    margin-bottom: 2rem;
}

.sidebar .nav-link {
    color: #333;
    margin: 0.25rem 0;
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}

.sidebar .nav-link:hover {
    background-color: #e8f5e9; /* hover green */
    color: #1a531b;
}

.sidebar .nav-link.active {
    background-color: #d1f2d5; /* active green */
    color: #145a32;
    font-weight: 600;
}

.sidebar .bottom-link {
    margin-top: auto; /* pushes to bottom */
    padding-top: 1rem;
    border-top: 1px solid #dee2e6;
}

.content {
    flex: 1;
    padding: 2rem;
    background-color: #fff;
}

@media (max-width: 768px) {
    .content {
        padding: 1rem;
    }
}

footer {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.avatar {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-weight: bold;
    background-color: #3b82f6;
}


.btn-custom-edit {
    background-color: #4CAF50; /* Green */
    color: white;
}

.btn-custom-delete {
    background-color: #F44336; /* Red */
    color: white;
}

/* 🔹 Employer action buttons / links */
a.action-view {
    color: #145a32; /* Brand green (same as buttons) */
    text-decoration: underline;
    font-weight: 500;
}

a.action-view:hover {
        text-decoration: none;
        color: #0d3b21; /* Darker green on hover */
    }

/* Optional: make the Edit button stand out slightly more */
.btn-success {
    background-color: #1a531b;
    border-color: #1a531b;
}

.btn-success:hover {
        background-color: #145a32;
        border-color: #145a32;
    }

.list-group-item a {
    font-weight: 500;
    color: #0d6efd;
    text-decoration: none;
}

.list-group-item a:hover {
    text-decoration: underline;
}

.uploaded-doc-list a:hover {
    text-decoration: underline;
}

/* === Dashboard Layout Fix === */
.dashboard-container {
    max-width: 1600px; /* 👈 sweet spot for large monitors */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.btn.disabled, .btn:disabled {
    opacity: 0.5;
    pointer-events: none;
}


.job-description-content h1,
.job-description-content h2,
.job-description-content h3,
.job-description-content h4 {
    margin-top: 1rem;
    margin-bottom: .5rem;
    font-weight: 600;
}

.job-description-content p {
    margin-bottom: .6rem;
}

.job-description-content ul,
.job-description-content ol {
    padding-left: 1.25rem;
    margin-bottom: .75rem;
}

.job-description-content li {
    margin-bottom: .25rem;
}


/* Hide table before DataTables initializes */
.dataTables-loading {
    opacity: 0;
    visibility: hidden;
}
