/* ---------- LIGHT / DARK THEME (silver, white, black) ---------- */





.dreams_chat {
    width: 40px !important;
    height: 40px !important;
    object-fit: cover !important;
}

.profile-img {
    position: relative !important;
    width: 46px !important;
    height: 46px !important;
}

.tab-content-box {
    display: none;
}

.tab-content-box.active {
    display: block;
}

.tab-content {
    display: none;
}


#projectProposals .tab-content {
    padding-top: 0px;
}



/* Payment sec design */
.payment-wrapper {
    /* max-width:500px; */
    margin: auto;
}

.payment-summary {
    background: #F6E3D3;
    border-radius: 16px;
    padding: 22px;
    margin-bottom: 28px;
}

.pay-title {
    color: #666;
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 500;
}

.payment-summary h2 {
    font-size: 42px;
    font-weight: 700;
    color: #111;
    margin: 0;
}

.payment-summary span {
    display: block;
    margin-top: 6px;
    color: #666;
    font-size: 18px;
}

.milestone-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 18px;
}

.mile-label {
    margin: 0;
    color: var(--accent);
    font-size: 18px;
}

.milestone-row h4 {
    margin: 4px 0 0;
    font-size: 25px;
    font-weight: 700;
    color: var(--text-primary);
}

.mile-count {
    color: var(--accent);
    font-size: 24px;
    font-weight: 500;
}

.payment-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-top: 1px solid #ECECEC;
}

.payment-option:last-of-type {
    border-bottom: 1px solid #ECECEC;
}

.option-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.payment-icon {
    width: 42px;
    height: 42px;
    border: 1px solid #E6E6E6;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.payment-icon i {
    font-size: 18px;
    color: #333;
}

.option-left h5 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
}

.option-left p {
    margin: 2px 0 0;
    color: var(--accent);
    font-size: 16px;
}

.payment-option .bi-chevron-right {
    font-size: 22px;
    color: var(--accent);
}


.payment-btn-wrap {
    margin-top: 30px;
    text-align: center;
}

.secure-btn {
    width: 50%;
    border: none;
    background: #BF4F26;
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    padding: 16px;
    border-radius: 8px;
}

.secure-text {
    margin-top: 15px;
    font-size: 18px;
    color: var(--accent);
}

/*my project view_project ->  Project drtails csss */



.project-header-box {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.project-icon {
    width: 60px;
    height: 60px;
    background: #f2f0f7;
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.project-icon i {
    font-size: 28px;
    color: #2563eb;
}

.project-info h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.project-info p {
    margin: 0;
    color: #888;
    font-size: 14px;
    line-height: 24px;
}

.project-info h6 {
    margin-top: 5px;
    font-size: 16px;
    font-weight: 700;
}

.project-stats {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #e5e5e5;
    display: flex;
    justify-content: space-between;
}

.project-stats div {
    flex: 1;
}

.project-stats div:not(:last-child) {
    border-right: 1px solid #e5e5e5;
    padding-right: 15px;
}

.project-stats div:not(:first-child) {
    padding-left: 15px;
}

.project-stats span {
    display: block;
    color: var(--accent);
    margin-bottom: 8px;
}

.project-stats h5 {
    margin: 0;
    font-weight: 700;
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.desc-text {
    color: var(--accent);
    line-height: 32px;
    font-size: 15px;
}

.attachment-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: var(--accent);
    padding: 14px 0;
}

.attachment-item:not(:last-child) {
    border-bottom: 1px solid #eee;
}

.attachment-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pdf-icon,
.video-icon
 {
    color: var(--accent);
    font-size: 24px;
}


.attachment-item i.bi-eye-fill {
    color: var(--accent);
    font-size: 18px;
}

/* Mobile Responsive */
@media(max-width:768px) {

    .project-stats {
        flex-direction: row;
    }

    .project-info h4 {
        font-size: 16px;
    }

    .project-stats h5 {
        font-size: 16px;
    }

    .skill-tags span {
        font-size: 13px;
    }

}



/* Review Section Step CSS */


.review-wrapper {
    padding-top: 20px;
    background-color: var(--bg-sidebar);
}

.review-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.review-user img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.user-details h4 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.user-details p {
    margin-top: 4px;
    color: var(--accent);
    font-size: 15px;
}

.review-wrapper hr {
    margin: 20px 0;
    border: none;
    border-top: 1px solid #e5e5e5;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

/* Rating */

.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.star-rating input {
    display: none;
}

.star-rating label {
    font-size: 40px;
    /* color: var(--bg-sidebar); */
    cursor: pointer;
    margin-right: 5px;
}

.star-rating input:checked~label,
.star-rating label:hover,
.star-rating label:hover~label {
    color: #f7a623;
}

/* Textarea */

.textarea-box {
    position: relative;
}

.textarea-box textarea {
    width: 100%;
    height: 120px;
    /* resize: none; */
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    outline: none;
    font-size: 15px;
}

.textarea-box span {
    position: absolute;
    right: 12px;
    bottom: 10px;
    color: #888;
    font-size: 14px;
}

/* Upload */

.upload-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.upload-box {
    width: 150px;
    height: 150px;
    border: 2px dashed var(--accent);
    background: var(--bg-sidebar);
    border-radius: 16px;
    cursor: pointer;

    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    transition: .3s;
}

/* .upload-box:hover {
    background: #fff1ea;
} */

.upload-box i {
    font-size: 36px;
    color: var(--accent);
    margin-bottom: 8px;
}

.upload-box span {
    font-size: 15px;
    font-weight: 600;
    color: var(--accent);
}

#previewContainer {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.preview-item {
    position: relative;
}

.preview-image {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #ddd;
}


/* Project Proposal CSS */



.proposal-project-card {
    background: var(--bg-sidebar);
    color: var(--text-primary);
    border-radius: 16px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.project-info h4 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);

}

.project-info p {
    color: var(--accent);
    margin-bottom: 4px;
}

.project-info span {
    color: var(--accent);
    font-weight: 500;
}

.project-image img {
    width: 140px;
    object-fit: contain;
}

/* Tabs */

.proposal-tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
    gap: 30px;
}

.proposal-tab {
    background: none;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    color: #666;
    cursor: pointer;
    position: relative;
}

.proposal-tab.active {
    color: #e16d35;
    font-weight: 600;
}

.proposal-tab.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 3px;
    background: #e16d35;
}

/* Freelancer Card */

.freelancer-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
   
    background: var(--bg-sidebar);
    /* border-bottom: 1px solid #ddd; */
}

.freelancer-left img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
}

.freelancer-middle {
    flex: 1;
    padding: 0 20px;
}

.freelancer-middle h5 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
}

.rating {
    font-size: 15px;
    color: var(--accent);
    margin-bottom: 8px;
}

.rating span {
    color: var(--accent);
}

.experience {
    color: var(--accent);
    font-size: 15px;
}

.freelancer-right {
    text-align: right;
}

.price {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.action-buttons {
    display: flex;
    gap: 15px;
}


@media(max-width:768px) {

    .proposal-project-card {
        padding: 12px;
    }

    .project-info h4 {
        font-size: 18px;
    }

    .project-image img {
        width: 100px;
    }

    .proposal-tabs {
        overflow-x: auto;
        white-space: nowrap;
    }

    .proposal-tab {
        font-size: 14px;
        padding: 12px 18px;
    }

    .freelancer-card {
        flex-wrap: wrap;
        gap: 15px;
    }

    .freelancer-left img {
        width: 70px;
        height: 70px;
    }

    .freelancer-middle {
        padding: 0;
        flex: 1;
    }

    .freelancer-middle h5 {
        font-size: 18px;
    }

    .freelancer-right {
        width: 100%;
        text-align: left;
    }

    .price {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .action-buttons {
        width: 100%;
    }

    .view-btn,
    .invite-btn {
        flex: 1;
        min-width: auto;
    }
}

/* Notification section css */
.notifications-wrapper {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #ececec;
}

.notification-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #ececec;
    gap: 15px;
}

#notifications .notification-item:last-child {
    border-bottom: none;
    padding-bottom: 25px;
}

.notification-left {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.notification-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.notification-content {
    flex: 1;
}

.notification-content h5 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #222;
}

.notification-content p {
    margin: 4px 0 0;
    color: #777;
    font-size: 16px;
    line-height: 1.4;
}

.notification-time {
    text-align: right;
    min-width: 120px;
}

.notification-time p {
    margin: 8px 0 0;
    color: #8b8b8b;
    font-size: 15px;
}

.dot {
    width: 10px;
    height: 10px;
    background: #BF4F26;
    border-radius: 50%;
    display: inline-block;
}

.payment-icon,
.project-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.payment-icon {
    background: #e9f8ed;
    color: #16a34a;
}

.project-icon {
    background: #f3e8ff;
    color: #7c3aed;
}

/* Mobile Responsive */

@media(max-width:768px) {

    .notification-item {
        padding: 15px;
        gap: 12px;
    }

    .notification-left {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }

    .notification-content h5 {
        font-size: 16px;
    }

    .notification-content p {
        font-size: 13px;
    }

    .notification-time {
        min-width: 80px;
    }

    .notification-time p {
        font-size: 12px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }
}


/* =========================
            Proposal Detail
        =========================*/

/* .proposal-detail {
            padding: 15px;
            padding-bottom: 90px;
        
        } */

/* Card */

.proposal-card {
    background: var(--bg-sidebar);
    /* border: 1px solid #eadcdc; */
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .08);
}

/* User */

.proposal-user {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ececec;
}

.proposal-user img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
}

.proposal-user-info h4 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.rating {
    margin: 6px 0;
    color: var(--accent);
    font-size: 14px;
}

.rating i {
    color: #ffb300;
    margin-right: 5px;
}

.rating span {
    color: var(--accent);
}

.exp {
    margin: 0;
    color: #555;
    font-size: 14px;
}

.exp i {
    margin-right: 6px;
}

/* Price */

.proposal-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 18px;
}

.price-box {
    width: 48%;
    text-align: center;
}

.price-box span {
    display: block;
    color: var(--accent);
    font-size: 15px;
}

.price-box h5 {
    margin-top: 6px;
    margin-bottom: 0;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.price-divider {
    width: 1px;
    height: 55px;
    background: #e5e5e5;
}

/* Description */

.proposal-card h5,
.work-section h5 {
    margin-bottom: 14px;
    font-size: 20px;
    font-weight: 700;
}

.proposal-card p {
    color: var(--accent);
    line-height: 30px;
    margin: 0;
}

/* Work */

.work-section {
    margin-bottom: 20px;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.work-item {
    border-radius: 10px;
    overflow: hidden;
}

.work-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: .3s;
}

.work-item img:hover {
    transform: scale(1.05);
}

/* Buttons */

.proposal-action {
    /* position: sticky; */
    /* bottom: 0; */
    /* background: #fff7f5; */
    /* display: flex; */
    justify-self: anchor-center;
    /* gap: 10px; */
    padding-top: 10px;
}

.proposal-action button {
    flex: 1;
    height: 48px;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: .3s;
}



/* Responsive */

@media(max-width:768px) {
    .proposal-user img {
        width: 58px;
        height: 58px;
    }

    .proposal-user-info h4 {
        font-size: 18px;
    }

    .price-box h5 {
        font-size: 22px;
    }

    .proposal-card p {
        font-size: 14px;
        line-height: 27px;
    }

    .work-grid {
        gap: 8px;
    }

    .work-item img {
        height: 82px;
    }

    .proposal-action button {
        height: 45px;
        font-size: 16px;
    }

}

/* @media(max-width:480px) {

            .proposal-user {
                gap: 12px;
            }

            .proposal-user img {
                width: 55px;
                height: 55px;
            }

            .proposal-user-info h4 {
                font-size: 17px;
            }

            .rating,
            .exp {
                font-size: 13px;
            }

            .price-box span {
                font-size: 13px;
            }

            .price-box h5 {
                font-size: 20px;
            }

            .proposal-card {
                padding: 15px;
            }

            .proposal-card h5,
            .work-section h5 {
                font-size: 18px;
            }

            .proposal-card p {
                font-size: 13px;
                line-height: 25px;
            }

            .work-item img {
                height: 72px;
            }

            .proposal-action button {
                font-size: 15px;
                height: 42px;
            }

        } */


/* modal css */

/* Overlay */
.hire-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;

    opacity: 0;
    visibility: hidden;
    transition: .3s;
}

.hire-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Box */
.hire-modal-box {
    width: 95%;
    max-width: 530px;
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    position: relative;
    animation: popupScale .25s ease;
}

@keyframes popupScale {
    from {
        transform: scale(.85);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Close */
.hire-modal-close {
    position: absolute;
    right: 15px;
    top: 12px;
    border: none;
    background: transparent;
    font-size: 28px;
    cursor: pointer;
}

/* Image */
.hire-success-img {
    text-align: center;
    margin-bottom: 15px;
}

.hire-success-img img {
    max-width: 180px;
}

.hire-modal-box h3 {
    text-align: center;
    color: #BF4F26;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 10px;
}

.hire-modal-box p {
    text-align: center;
    margin-bottom: 25px;
}

/* Card */
.hire-info-card {
    border: 1px solid #e7dede;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 20px;
}

.hire-user {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 15px;
}

.hire-user img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.hire-user h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.hire-rating {
    font-size: 14px;
    color: #777;
}

.hire-rating i {
    color: #ffb300;
}

.hire-exp {
    font-size: 14px;
    color: #666;
}

.hire-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-top: 1px solid #eee;
}

.hire-row span {
    font-weight: 600;
    color: #333;
}

.hire-row strong {
    color: #777;
    font-weight: 500;
}

/* Buttons */
.confirm-hire-btn {
    width: 100%;
    height: 50px;
    border: none;
    background: #BF4F26;
    color: #fff;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.cancel-hire-btn {
    width: 100%;
    height: 50px;
    background: #fff;
    color: #BF4F26;
    border: 1px solid #BF4F26;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
}

#myProjects .page-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

#myProjects .page-title h3 {
    margin: 0;
}

.file-preview a {
    width: 40px;
    height: 40px;
    background: #f5f5f5;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-decoration: none;
    transition: .3s;
}

.file-preview a:hover {
    background: #BF4F26;
    color: #fff;
}

.file-preview i {
    font-size: 34px;
    color: #BF4F26;
    transition: .3s;
}

.file-preview a:hover i {
    color: #fff;
}

.image-not-download span {
    position: absolute;
    right: 6px;
    bottom: 6px;
    background: rgba(0, 0, 0, .7);
    color: #fff;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 10px;
}