﻿/* ================= datatables search Section ================= */
.dt-search{
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: center;
}

.dt-search label {
    margin: 0px;
}

.dt-search input {
    height: auto !important;
    margin: 0px 0px !important;
    border-radius: 8px !important;
}

/* ================= What's new Section ================= */
.whatsnew-modal-lg {
    max-width: 1100px;
    width: 100%;
}

.whatsnew-cards-grid {
    display: grid;
    grid-template-rows: repeat(5, auto);
    grid-auto-flow: column;
    gap: 12px;
    counter-reset: whatsCounter;
}

/* Card Layout */
.whats-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 12px 14px;
    border-radius: 10px;
    transition: all 0.2s ease;
}

    /* Hover Effect */
    .whats-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    }

    /* Icon */
    .whats-card i {
        font-size: 18px;
        margin-top: 3px;
    }

/* Number Box */
.whats-number::before {
    counter-increment: whatsCounter;
    content: counter(whatsCounter);
}

/* Style */
.whats-number {
    min-width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    background: rgba(0,0,0,0.1);
}

/* Text Container */
.whats-text {
    display: flex;
    flex-direction: column;
}

/* Title */
.whats-title {
    font-weight: 600;
    font-size: 14px;
}

/* Description */
.whats-desc {
    font-size: 13px;
    opacity: 0.8;
}

/* 1 - Blue */
.whats-card:nth-child(5n+1) {
    background: #e8f0ff;
    color: #1a73e8;
}

/* 2 - Green */
.whats-card:nth-child(5n+2) {
    background: #e6f7f1;
    color: #00a76f;
}

/* 3 - Orange */
.whats-card:nth-child(5n+3) {
    background: #fff4e5;
    color: #f59e0b;
}

/* 4 - Red */
.whats-card:nth-child(5n+4) {
    background: #fdecea;
    color: #e53935;
}

/* 5 - Purple */
.whats-card:nth-child(5n+5) {
    background: #f3e8ff;
    color: #7b1fa2;
}
/* ================= End What's new Section ================= */

.action-icon {
    cursor: pointer;
    font-size: 14px;
    padding: 5px;
    border-radius: 8px;
    transition: all 0.25s ease;
}

    /* Common hover */
    .action-icon:hover {
        transform: scale(1.35);
        filter: drop-shadow(0 4px 10px rgba(0,0,0,0.25));
    }

    /* Edit hover */
    .action-icon.edit:hover {
        color: #0c0c54;
        background-color: rgba(13, 110, 253, 0.15);
    }

    .action-icon.delete {
        color: #dc3545;
    }

        .action-icon.delete:hover {
            color: #dc3545;
            background-color: rgba(220, 53, 69, 0.15);
            transform: scale(1.4);
        }

#pageloader {
    background: #ffffff;
    height: 100%;
    left: 0;
    opacity: 1;
    filter: alpha(opacity=100);
    position: fixed;
    text-align: center;
    top: 0;
    width: 100%;
    z-index: 999999999;
}

.preloader {
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
    position: absolute;
}

    .preloader span {
        position: absolute;
        display: block;
        bottom: 0;
        width: 9px;
        height: 5px;
        border-radius: 5px;
        background: #1A0958;
        -webkit-animation: preloader 2s infinite ease-in-out;
        animation: preloader 2s infinite ease-in-out;
    }

        .preloader span:nth-child(2) {
            left: 11px;
            -webkit-animation-delay: 200ms;
            animation-delay: 200ms;
        }

        .preloader span:nth-child(3) {
            left: 22px;
            -webkit-animation-delay: 400ms;
            animation-delay: 400ms;
        }

        .preloader span:nth-child(4) {
            left: 33px;
            -webkit-animation-delay: 600ms;
            animation-delay: 600ms;
        }

        .preloader span:nth-child(5) {
            left: 44px;
            -webkit-animation-delay: 800ms;
            animation-delay: 800ms;
        }

        .preloader span:nth-child(6) {
            left: 55px;
            -webkit-animation-delay: 1000ms;
            animation-delay: 1000ms;
        }

@-webkit-keyframes preloader {
    0% {
        height: 5px;
        -webkit-transform: translateY(0);
        transform: translateY(0);
        background: #1A0958;
    }

    25% {
        height: 30px;
        -webkit-transform: translateY(15px);
        transform: translateY(15px);
        background: #1A0958;
    }

    50%, 100% {
        height: 5px;
        -webkit-transform: translateY(0);
        transform: translateY(0);
        background: #1A0958;
    }
}

@keyframes preloader {
    0% {
        height: 5px;
        -webkit-transform: translateY(0);
        transform: translateY(0);
        background: #1A0958;
    }

    25% {
        height: 30px;
        -webkit-transform: translateY(15px);
        transform: translateY(15px);
        background: #1A0958;
    }

    50%, 100% {
        height: 5px;
        -webkit-transform: translateY(0);
        transform: translateY(0);
        background: #1A0958;
    }
}

.area-column {
    max-width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card {
    margin-bottom: 24px;
    box-shadow: 0 4px 8px rgb(56 65 74 / 10%);
    border-radius: 12px;
}

.bg-success {
    background-color: #2ed300 !important;
}

.bg-warning {
    background-color: #f1ac33 !important;
    color: black;
}

.bg-danger {
    background-color: #f1556c !important;
    color: white;
}

.bg-purple {
    background-color: #6f42c1 !important;
    color: white;
}

.bg-orange {
    background-color: #fd7e14 !important;
    color: white;
}

.cursor-pointer {
    cursor: pointer
}

.modal-header {
    border-bottom: 1px solid #e5e8eb;
}

/* ================= Company Header Dashboard Section ================= */
.company-header-dashboard {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 60px;
}

/* Logo wrapper */
.company-logo-wrapper {
    height: 36px;
    width: auto;
    display: flex;
    align-items: center;
}

/* Logo image */
#companyHeaderLogo {
    height: 100%;
    min-height: 60px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    display: block;
}

/* Text */
.company-info span {
    font-size: 17px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    white-space: nowrap;
}
/* ================= Company Header Dashboard Section End ================= */

.user-img {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: #1b2c8a;
    object-fit: cover;
}

.emp-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-initial {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #0d6efd;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.upcoming-holiday {
    position: relative
}

    .upcoming-holiday li {
        position: relative;
        padding: 0px 0px 20px;
    }

    .upcoming-holiday::before {
        content: '';
        height: 100%;
        display: block;
        width: 2px;
        background: #d1d1d1;
        position: absolute;
        top: 0;
    }

    .upcoming-holiday::before {
        content: '';
        height: 100%;
        display: block;
        width: 2px;
        background: #d1d1d1;
        position: absolute;
        top: 0;
        left: 69px;
    }

    .upcoming-holiday li::before {
        content: '';
        height: 10px;
        display: block;
        width: 10px;
        border-radius: 50%;
        background: #ffffff;
        position: absolute;
        top: 0;
        border: 1px solid #060630;
        left: 65px;
    }

.holiday-date {
    margin-right: 35px;
}

    .holiday-date h5 {
        font-size: 16px
    }

.badge {
    font-weight: 400;
}

.dash-card-data {
    max-height: 350px;
    overflow-y: auto;
    overflow-x: hidden;
}

.subscription-warning-bar {
    background: #d9d69c;
    color: #3d3d00;
    padding: 8px 40px 8px 15px;
    font-size: 14px;
    text-align: left;
    position: relative;
    border-bottom: 1px solid #c9c681;
}

.warning-close {
    position: absolute;
    right: 15px;
    top: 5px;
    border: none;
    background: transparent;
    font-size: 16px;
    cursor: pointer;
}

/* ================= Employee Image Section ================= */

/* Container */
.upload_pro_img {
    height: 180px;
    width: 180px;
    border-radius: 12px;
    border: 1px dashed #d1d5db;
    background: #f9fafb;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: 0.3s;
}

    .upload_pro_img:hover {
        border-color: #6366f1;
    }

/* Label full clickable */
.upload-label {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 10px;
}

/* Image preview */
.preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* File name */
.file-name {
    font-size: 12px;
    color: #6b7280;
    max-width: 140px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Delete button */
#del_img {
    position: absolute;
    top: 6px;
    right: 6px;
    height: 28px;
    width: 28px;
    border-radius: 50%;
    background: rgba(0,0,0,0.6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    visibility: hidden;
    z-index: 10;
}

    #del_img:hover {
        background: #ef4444;
    }

/* Salary Structure Employee */
.salary-toggle {
    display: flex;
    background: linear-gradient(135deg, #0C0C54, #3a3aa3);
    border-radius: 50px;
    padding: 3px;
    width: 100%;
    height: 35px;
    min-width: 90px;
}

.toggle-option {
    flex: 1;
    text-align: center;
    line-height: 30px;
    border-radius: 50px;
    cursor: pointer;
    color: white;
    font-weight: 500;
    transition: 0.3s;
}

    .toggle-option.active {
        background: white;
        color: #6f42c1;
    }


@media (max-width: 576px) {
    .salary-toggle {
        font-size: 12px;
        height: 32px;
    }

    .toggle-option {
        line-height: 26px;
    }
}

/* ================= Salary Criteria Master Section ================= */
.criteria-master-toggle-group {
    display: flex;
    background: #2d2a8c;
    border-radius: 30px;
    padding: 4px;
    width: fit-content;
}

.criteria-master-toggle-btn {
    border: none;
    padding: 6px 18px;
    border-radius: 30px;
    background: transparent;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

    .criteria-master-toggle-btn.active {
        background: white;
        color: #2d2a8c;
        font-weight: 600;
    }

/* ================= Project Section ================= */

/* Member (Project) */
.member-stack {
    display: flex;
    align-items: center;
    overflow: hidden;
}

.member-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -14px;
    border: 1px solid;
}

    .member-avatar:first-child {
        margin-left: 0;
    }

/* Listing my Tasks */
.btn-complete-task {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #ff5c5c;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #ff5c5c;
    cursor: pointer;
    padding: 0;
    transition: 0.2s;
}

    .btn-complete-task:hover {
        background: #ff5c5c;
        color: #fff;
    }

    .btn-complete-task.done {
        background: #ff5c5c;
        color: #fff;
        border-color: #ff5c5c;
        cursor: default;
    }

.serial-col {
    display: inline-flex;
    justify-content: flex-end;
    width: 32px;
    font-variant-numeric: tabular-nums;
}
/* Create my Tasks canvas */

/* ===== Drawer Container ===== */
.task-drawer {
    width: 95vw;
    max-width: 1200px;
    background: #fff;
    display: flex;
    flex-direction: column;
    color: #1f2937;
}

/* ===== Header ===== */
.task-header {
    height: 60px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #e5e7eb;
}

    /* Prevent Select2 from stretching in flex header */
    .task-header .select2-container {
        width: 140px !important;
        min-width: 140px;
        flex: 0 0 auto; /* ⬅ THIS is the key */
    }

    /* Match height nicely */
    .task-header
    .select2-container--default
    .select2-selection--single {
        height: 36px;
        display: flex;
        align-items: center;
    }

/* ICON BUTTON */
.icon-btn {
    width: 29px;
    height: 29px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #fff;
    cursor: pointer;
    transition: .15s;
    padding: 0;
}

    .icon-btn i {
        font-size: 16px;
        line-height: 1;
    }

    .icon-btn:hover {
        background: #f3f4f6;
    }

/* CLOSE BUTTON */
.close-btn {
    border: none;
    background: transparent;
}

.save-btn {
    margin-left: 6px;
    padding: 4px 14px;
    border-radius: 8px;
}

/* ===== Status Select ===== */
.status-select {
    width: 140px;
}

/* ===== Header Actions ===== */
.header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ===== Body Layout ===== */
.task-body {
    display: flex;
    height: calc(100vh - 60px);
}

/* ===== Left Form Panel ===== */
.task-form {
    width: 45%;
    padding: 24px;
    overflow-y: auto;
}

/* ===== Right Panel ===== */
.task-panel {
    width: 55%;
    padding: 24px;
    background: #fcfcfd;
}

/* ===== Divider ===== */
.panel-divider {
    width: 1px;
    background: #e5e7eb;
}

/* ===== Form Group ===== */
.from-group-task {
    margin-bottom: 18px;
}

    .from-group-task label {
        display: block;
        margin-bottom: 6px;
        font-size: 13px;
        font-weight: 500;
    }

/* ===== Inputs ===== */
.form-control {
    height: 40px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

/* ===== Time Inputs ===== */
.time-group {
    display: flex;
    gap: 8px;
    align-items: center;
}

.time-input {
    width: 60px;
    height: 38px;
    text-align: center;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

/* ===== Priority Buttons ===== */
.priority-group {
    display: flex;
    gap: 10px;
}

.priority-btn {
    border: none;
    padding: 6px 14px;
    border-radius: 20px;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    position: relative;
}

    .priority-btn .tick {
        display: none;
        margin-right: 6px;
    }

    .priority-btn.active .tick {
        display: inline-block;
    }

    .priority-btn.low {
        background: #0d6efd;
    }

    .priority-btn.medium {
        background: #198754;
    }

    .priority-btn.high {
        background: #dc3545;
    }


/* ===== Tabs ===== */
.panel-tabs {
    display: flex;
    gap: 30px;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 20px;
    list-style: none;
    padding: 0;
}

    .panel-tabs li {
        cursor: pointer;
        padding: 8px 0;
        font-weight: 500;
        color: #6b7280;
    }

        .panel-tabs li.active {
            color: #ef4444;
            border-bottom: 2px solid #ef4444;
        }

/* ===== Tab Content ===== */
.tab-pane {
    display: none;
}

    .tab-pane.active {
        display: block;
    }

/* ===== Worklog ===== */
.worklog-header {
    margin-top: 25px;
    font-size: 14px;
}

.worklog-form {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 16px;
    margin-top: 10px;
    flex-wrap: nowrap;
}

.wl-field label {
    font-size: 13px;
    margin-bottom: 6px;
    display: block;
}

.wl-save-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #1a0958;
    border: none;
    color: #fff;
    cursor: pointer;
}

/* ===== Empty State ===== */
.empty-state-worklog {
    text-align: center;
    margin-top: 60px;
    color: #9ca3af;
}

/* Attachment block */
.attachment-header {
    font-size: 14px;
}

    .attachment-header i {
        height: 29px;
        width: 29px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        background: #fff;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
    }

.attachment-scroll {
    display: flex;
    justify-content: left;
    gap: 14px;
    overflow-x: auto;
    padding: 8px 2px;
}

.attachment-card {
    width: 150px;
    height: 110px;
    border-radius: 12px;
    overflow: hidden;
    background: #2c2c2c;
    position: relative;
    flex-shrink: 0;
}

    .attachment-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.attachment-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 32px;
    color: #fff;
}

.attachment-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,.85);
    color: #fff;
    font-size: 11px;
    padding: 4px 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.empty-state-attachment {
    margin-top: 20px;
    color: #9ca3af;
}

/* Work Log History */
.worklog-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-bottom: 1px solid #e5e5e5;
    font-size: 13px;
}

.wl-left {
    width: 30px;
    font-weight: 600;
}

.wl-body {
    flex: 1;
}

.wl-user {
    font-weight: 600;
}

.wl-desc {
    color: #666;
}

.wl-right {
    text-align: right;
    color: #777;
    font-size: 12px;
}

/* Subtask */
.subtask-item {
    margin-bottom: 12px;
}

.subtask-meta {
    margin-left: 12px;
    margin-bottom: 4px;
}

.meta-badge {
    background: #e6e6e6;
    color: #000;
    font-size: 11px;
    padding: 3px 7px;
    border-radius: 6px;
    margin-right: 6px;
}

.subtask-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px 14px;
    background: #c3c4c8;
    border-radius: 18px;
    color: black;
    cursor: pointer;
    margin-top: 10px;
}

.subtask-left {
    display: flex;
    gap: 12px;
    align-items: center;
}

.subtask-number {
    opacity: .8;
}

.subtask-title {
    font-weight: 500;
}

.subtask-right {
    display: flex;
    gap: 14px;
    align-items: center;
    font-size: 16px;
}

.status-icon-subtask {
    color: black;
}

    .status-icon-subtask.done {
        color: #4CAF50;
    }

.arrow {
    opacity: .8;
}

/* ================= Task Dashboard ================= */
.task-dashboard {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 135px);
    height: auto;
    align-items: stretch;
}

    .task-dashboard .row {
        flex: 1;
        min-height: 0;
    }

/* Make bootstrap columns stretch */
.task-columns > div {
    display: flex;
    min-height: 0;
}

.page-heading {
    color: #1f2d5a;
    font-weight: 600;
}

/* TOGGLE */
.task-toggle {
    position: relative;
    width: 54px;
    height: 28px;
    margin: 0;
}

    .task-toggle input {
        display: none;
    }

    .task-toggle .slider {
        position: absolute;
        inset: 0;
        cursor: pointer;
        background: #d1d5db;
        border-radius: 30px;
        transition: .3s;
    }

        .task-toggle .slider:before {
            content: "";
            position: absolute;
            height: 22px;
            width: 22px;
            left: 3px;
            top: 3px;
            background: #fff;
            border-radius: 50%;
            transition: .3s;
        }

    .task-toggle input:checked + .slider {
        background: #1a0958;
    }

        .task-toggle input:checked + .slider:before {
            transform: translateX(26px);
        }

/* COLUMN */
.dashboard-column {
    /*    background: linear-gradient(135deg, #eaebef, #ccced5);*/
    background: linear-gradient(135deg, #ccced5, #eaebef);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    max-height: calc(100vh - 220px);
    overflow: hidden;
    position: relative;
    margin-top: 15px;
}

/* COLUMN HEADER */
.dashboard-header {
    padding: 14px 16px;
    font-weight: 600;
    flex-shrink: 0;
    min-height: 56px;
}

/* ADD TASK BUTTON */
.btn-add-task {
    width: 29px;
    height: 29px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.25);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .2s;
}

    .btn-add-task:hover {
        background: #b2b2b2;
        transform: scale(1.05);
    }

/* COLUMN BODY */
.dashboard-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    padding-bottom: 20px;
    position: relative;
}

    /* Scrollbar */
    .dashboard-body::-webkit-scrollbar {
        width: 6px;
    }

    .dashboard-body::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 10px;
    }

.task-card {
    position: relative;
    background: #eef1f6;
    border-radius: 14px;
    padding: 12px;
    transition: .2s ease;
}

    .task-card:hover {
        transform: translateY(-2px);
    }

.subtask-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 50px;
    background: #b7e4c7;
    color: #1b4332;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(0,0,0,.25);
}

.btn-complete {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: none;
    background: rgba(34,197,94,.15);
    color: #22c55e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: .2s;
}

    .btn-complete:hover {
        background: #22c55e;
        color: #fff;
        transform: scale(1.05);
    }

.task-title {
    color: #1977ee;
    font-weight: 700;
    font-size: 15px;
}

.task-meta {
    font-size: 13px;
    margin-top: 6px;
}

.task-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-size: 12px;
}

/* Priority colors */
.task-priority {
    font-weight: 600;
}

    .task-priority.medium {
        color: #39d98a;
    }

    .task-priority.low {
        color: #4da3ff;
    }

    .task-priority.high {
        color: #ff6b6b;
    }

/* ================= Company - Super ================= */

/* Company Image Upload Section */
.company-image-upload {
    position: relative;
    width: 100%;
}

.company-image-upload-box {
    border: 2px dashed rgba(255,255,255,0.3);
    border-color: #595959;
    border-radius: 16px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.3s ease;
    background: rgba(255,255,255,0.02);
    position: relative;
    overflow: hidden;
}

.company-image-upload-banner {
    height: 150px;
}

.company-image-upload-box:hover {
    border-color: #ef6c6c;
    background: rgba(255,255,255,0.05);
}

.company-upload-section {
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #777;
}

    .company-upload-section span {
        display: block;
        font-size: 12px;
        color: #9aa0a6;
        margin-top: 4px;
    }

/* Preview Container */
.company-preview-container {
    width: 100%;
    height: 100%;
    padding: 20px;
}

    .company-preview-container img {
        height: 100%;
        width: 100%;
        object-fit: cover;
        border-radius: 12px;
    }

/* Preview Image */
.company-image-preview {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Delete Button */
.delete-image {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 5;
}

/* Company Form - Settings Section */
.company-settings-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 14px 18px;
    border-radius: 12px;
}

.company-settings-content {
    max-width: 80%;
}

.company-settings-title {
    font-weight: 600;
    font-size: 14px;
}

.company-settings-description {
    font-size: 12px;
    color: #9aa0a6;
    margin-top: 4px;
}

/* Company Toggle */
.company-toggle {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 24px;
}

    .company-toggle input {
        opacity: 0;
        width: 0;
        height: 0;
    }

/* Toggle Background */
.company-toggle-track {
    position: absolute;
    inset: 0;
    cursor: pointer;
    background-color: #777;
    border-radius: 34px;
    transition: 0.3s ease;
}

    /* Toggle Circle */
    .company-toggle-track:before {
        content: "";
        position: absolute;
        height: 18px;
        width: 18px;
        left: 3px;
        bottom: 3px;
        background-color: #ffffff;
        border-radius: 50%;
        transition: 0.3s ease;
    }

/* Checked State */
.company-toggle input:checked + .company-toggle-track {
    background-color: #ef6c6c;
}

    .company-toggle input:checked + .company-toggle-track:before {
        transform: translateX(22px);
    }

/* Blogs */
.upload-card {
    height: 300px;
    width: 100%;
    aspect-ratio: 4 / 1;
    border-radius: 12px;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .upload-card:hover {
        background: #dbeafe;
    }

.upload-info h5 {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.upload-info p {
    font-size: 13px;
    color: #374151;
    margin: 0;
}

/* Preview Container */
.preview-container {
    width: 100%;
    height: 100%;
    padding: 20px;
}

    .preview-container img {
        height: 100%;
        width: 100%;
        object-fit: cover;
        border-radius: 12px;
    }

/* ================= Setting Section ================= */
/* Container spacing */
.setting-list-group {
    padding: 6px;
}

    /* Default item style */
    .setting-list-group-item,
    .setting-list-group .list-group-item {
        border: none;
        border-radius: 10px;
        margin-bottom: 6px;
        transition: all 0.2s ease;
        color: #333;
    }

        /* Hover effect */
        .setting-list-group-item:hover,
        .setting-list-group .list-group-item:hover {
            background-color: #f5f6fa;
        }

        /* Active (selected) item */
        .setting-list-group .list-group-item.active {
            background-color: #1A0958;
            color: #fff;
            border-radius: 10px;
            font-weight: 500;
        }

    /* Remove Bootstrap default border */
    .setting-list-group .list-group-item {
        border: none;
    }