/* Scoped common styles for the frontend layout */

.sticky-sidebar {
    position: sticky;
    top: 100px;
}

.job-card {
    border: 1px solid #e5e7eb;
    background: #fff;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    position: relative;
    z-index: 1;
    padding: 1px !important;
}

.job-card:hover {
    transform: translateY(1px) scale(1.02);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15) !important;
    border-color: #0d6efd;
    z-index: 10;
}

.job-card:hover .job-title {
    color: #0d6efd;
}

.job-card .btn-download {
    border: 2px solid #0d6efd;
    color: #0d6efd;
    font-weight: 600;
    transition: all 0.3s ease;
}

.job-card .btn-download:hover {
    background-color: #0d6efd;
    color: #fff;
}

.job-card .btn-apply {
    color: #0d6efd;
    font-weight: 600;
}

.job-card .btn-apply:hover {
    text-decoration: underline;
}

.job-card:hover .badge {
    background-color: transparent;
}

.job-card i {
    font-size: 13px;
    color: #6c757d;
}

.job-card .bx-file {
    margin-top: -1px;
}

.fw-bold {
    color: black;
}

.rating-stars-svg {
    display: flex;
    flex-direction: row-reverse;
    margin-right: 55%;
    gap: 6px;
}

.rating-stars-svg input {
    display: none;
}

.rating-stars-svg label {
    width: 36px;
    height: 36px;
    cursor: pointer;
    color: #e4e4e4;
    transition: 0.2s;
}

.rating-stars-svg label svg {
    width: 100%;
    height: 100%;
}

.rating-stars-svg label:hover,
.rating-stars-svg label:hover ~ label {
    color: #f4b400;
}

.rating-stars-svg input:checked ~ label {
    color: #f4b400;
}

.star-rating {
    display: flex;
    gap: 6px;
}

.star {
    width: 24px;
    height: 24px;
    color: #e4e4e4;
}

.star.active {
    color: #f4b400;
}

.feedback-box {
    background: #f8f9fa;
    border: 1px solid #e3e6ea;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.table-button {
    width: 100%;
}

.custom-badge {
    width: 100%;
    display: inline-block;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 6px;
}

.badge-light-warning {
    background-color: #fff3cd;
    color: #856404;
}

.badge-light-scheduled {
    background-color: #edd8e9;
    color: #8f3b7f;
}

.badge-light-rescheduled {
    background-color: #f7d6bc;
    color: #994a0c;
}

.fc-disabled {
    background: #f5f5f5 !important;
    cursor: not-allowed;
}

/* Password Show/Hide Toggle Styles */
.show-password-toggle {
    position: absolute;
    top: 1px;
    right: 1px;
    bottom: 1px;
    width: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    color: #777;
    background: #f8f9fa;
    border-left: 1px solid #ddd;
    border-radius: 0 4px 4px 0;
    transition: all 0.3s ease;
}

.show-password-toggle:hover {
    background: #e9ecef;
    color: #333;
}

.position-relative input.form-control {
    padding-right: 55px !important;
}

/* Responsive adjustments */
@media (max-width: 575px) {
    .show-password-toggle {
        width: 40px;
    }
    .position-relative input.form-control {
        padding-right: 48px !important;
    }
}
