:root {
    --primary-color: #e77010;
    --partner-color: #8e44ad;
    --normal-color: #2ecc71;
    --secondary-color: #2e86de;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

.container:has(.o_portal_my_home) {
    max-width: fit-content;
    width: 96% !important;
}

/* Main Section */
.main-section {
    padding: 20px 0;
}

/* Sidebar - Improved for mobile */
.sidebar-section {
    background: #ffffff1c;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    padding: 1rem;
    height: 100%;
}

.sidebar-section .logo {
    color: var(--bs-heading-color);
    font-weight: 700;
    font-size: 1.5rem;
    padding: 1rem 0;
    display: block;
    text-align: center;
}

.sidebar-section .nav-link {
    color: var(--bs-heading-color);
    border-radius: 5px;
    margin: 0.25rem 0;
    padding: 0.75rem 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    transition: all 0.2s;
}

.sidebar-section .nav-link i {
    width: 24px;
    text-align: center;
    margin-right: 12px;
    font-size: 1.1rem;
}

.sidebar-section .nav-link:hover,
.sidebar-section .nav-link.active {
    background-color: rgba(231, 112, 16, 0.1);
    color: var(--primary-color);
}

/* Mobile sidebar toggle */
.mobile-sidebar-toggle {
    display: none;
    margin-bottom: 1rem;
    width: 100%;
}

/* Content Section */
.content-section {
   /* background: white;*/
    border-radius: 0.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

.dashboard-header {
    margin-bottom: 1.5rem;
}

/* Task priority highlight */
.priority-highlight {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--danger-color);
}
/* Project description styling */
.project-description-container {
    height: 60px; /* Fixed height for all descriptions */
    overflow: hidden; /* Hide overflow */
    position: relative;
}

.project-description {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Show max 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0;
}

/* Optional: Add "read more" effect */
.project-description-container:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgb(255 255 255 / 4%));
}
/* Responsive adjustments */
@media (max-width: 992px) {
    .sidebar-section {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        z-index: 1050;
        transition: all 0.3s ease;
        overflow-y: auto;
    }

    .sidebar-section.active {
        left: 0;
    }

    .mobile-sidebar-toggle {
        display: block;
    }

    .content-section {
        padding: 1rem;
    }

    .col-md-9 {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Tab-like content for sidebar navigation */
.content-tab {
    display: none;
}

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

<!-- Additional CSS (non-critical) -->

            /* Project Cards */
            .project-card {
    position: relative;
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: all 0.3s ease;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.project-request-card {
    border: 2px dashed #dee2e6;
    background-color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s;
    cursor: pointer;
}

.project-request-card:hover {
    border-color: var(--primary-color);
    background-color: rgba(231, 112, 16, 0.05);
}

/* Team Avatars */
.team-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.avatar-1 {
    background-color: #3498db;
}
.avatar-2 {
    background-color: #e74c3c;
}
.avatar-3 {
    background-color: #2ecc71;
}
.avatar-4 {
    background-color: #9b59b6;
}
.avatar-5 {
    background-color: #f39c12;
}

/* Badges */
.customer-type-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
}

.type-collaboration{
    background-color: var(--normal-color);
    color: white;
}

.type-client {
    background-color: var(--partner-color);
    color: white;
}

/* Activity Feed */
.activity-item {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1.25rem;
}

.activity-item:before {
    content: "";
    position: absolute;
    left: 1rem;
    top: 0;
    height: 100%;
    width: 2px;
    background-color: #e9ecef;
}

.activity-item:last-child:before {
    display: none;
}

.activity-badge {
    position: absolute;
    left: 0;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
}

.badge-task {
    background-color: var(--secondary-color);
}
.badge-comment {
    background-color: var(--warning-color);
}
.badge-file {
    background-color: var(--normal-color);
}
.badge-meeting {
    background-color: var(--partner-color);
}

/* Stats */
.stat-card {
    text-align: center;
    padding: 1.5rem;
    border-radius: 0.5rem;
    background: #ffffff1c;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.stat-card .stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.stat-card .stat-label {
    font-size: 0.875rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Classic Task List */
.task-item {
    border-left: 3px solid var(--primary-color);
    transition: all 0.2s ease;
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 0.25rem;
}

.task-item:hover {
    transform: translateX(5px);
    background-color: rgba(231, 112, 16, 0.05);
}

/*.status-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
}*/

.status-planning {
    background-color: #d6d8db;
    color: #495057;
}

.status-progress {
    background-color: #fff3cd;
    color: #856404;
}

.status-review {
    background-color: #cce5ff;
    color: #004085;
}

.status-completed {
    background-color: #d4edda;
    color: #155724;
}

/* Messages */
.message-item {
    padding: 1rem;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.message-item.unread {
    background-color: rgba(46, 134, 222, 0.05);
    border-left-color: var(--secondary-color);
}

.message-item:hover {
    background-color: #f8f9fa;
}
/* Status Badges */
.status-badge {
    position: absolute;
    top: 0px;
    right: 0px;
    padding: 3px 8px;
    border-radius: 0px;
    font-size: 12px;
    font-weight: 500;
    color: white;
}

.status-badge.on_track {
    background-color: #28a745; /* Green */
}

.status-badge.at_risk {
    background-color: #ffc107; /* Yellow */
    color: #212529;
}

.status-badge.off_track {
    background-color: #dc3545; /* Red */
}

.status-badge.on_hold {
    background-color: #6c757d; /* Gray */
}

.status-badge.done {
    background-color: #17a2b8; /* Teal */
}

.status-badge.to_define {
    background-color: #6610f2; /* Purple */
}

/* Progress bars matching status colors */
.progress-bar.on_track {
    background-color: #28a745;
}

.progress-bar.at_risk {
    background-color: #ffc107;
}

.progress-bar.off_track {
    background-color: #dc3545;
}

.progress-bar.on_hold {
    background-color: #6c757d;
}

.progress-bar.done {
    background-color: #17a2b8;
}

.progress-bar.to_define {
    background-color: #6610f2;
}

/* Pagination Styling */
.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.pagination {
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: 0.25rem;
}

.page-item {
    margin: 0 2px;
}

.page-item.active .page-link {
    background-color: #7c7bad; /* Odoo purple */
    border-color: #7c7bad;
    color: white;
}

.page-link {
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #7c7bad;
    background-color: #fff;
    border: 1px solid #dee2e6;
}

.page-link:hover {
    color: #5d5a8e;
    text-decoration: none;
    background-color: #e9ecef;
    border-color: #dee2e6;
}

/* Style the file input button */
.form-control::-webkit-file-upload-button {
    visibility: hidden;
}
input[type="file"].form-control::before {
    content: 'Browse Files';
    display: inline-block;
    background: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    padding: 0.375rem 0.75rem;
    outline: none;
    white-space: nowrap;
    -webkit-user-select: none;
    cursor: pointer;
    margin-right: 10px;
}
.form-control:hover::before {
    background: #dee2e6;
}
.form-control:active::before {
    background: #dee2e6;
}


/* Modal header styling */
.modal-header.bg-info , #supportTicketModal .btn , button[data-bs-target="#supportTicketModal"]:hover {
    background-color: #0dcaf0 !important;
    border-color: #0dcaf0;
    color:white;
}

#fileUploadModal .modal-header , #fileUploadModal .btn , button[data-bs-target="#fileUploadModal"]:hover {
    background-color: #198754 !important;
    border-color: #198754;
    color:white;
}

#meetingModal .modal-header , #meetingModal .btn , button[data-bs-target="#meetingModal"]:hover , .calendar-header{
    background-color: #6c757d !important;
    border-color: #6c757d;
    color:white;
}
#taskModal .modal-header , #taskModal .btn , button[data-bs-target="#taskModal"]:hover {
    background-color: #e77010 !important;
    border-color: #e77010;
    color:white;
}
.modal-title#taskModalLabel , .modal-title#meetingModalLabel , .modal-title#newProjectModalLabel ,.modal-title#demoRequestModalLabel , .modal-title#fileUploadModalLabel , .modal-title#supportTicketModalLabel , .calendar-header .modal-title{
    color:white;
}


/* Required field indicators */
label[required]:after {
    content: " *";
    color: #dc3545;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .modal-lg {
        margin: 0.5rem auto;
    }
}

/* Style for the support ticket button */
.btn-outline-info {
    transition: all 0.3s ease;
}
.btn-outline-info:hover {
    background-color: #0dcaf0;
    color: white !important;
}
.btn-outline-info:hover p {
    color: rgba(255,255,255,0.7) !important;
}

/* Style for the ticket form */
#supportTicketModal .form-control,
#supportTicketModal .form-select {
    padding: 0.5rem 0.75rem;
}
#supportTicketModal textarea.form-control {
    min-height: 120px;
}
#helpdesk_content .table th {
    --bs-table-accent-bg: #ffffff;
}

/* Style the multi-select dropdown */
    select[multiple] {
        min-height: 120px;
        padding: 0.5rem;
    }

    select[multiple] option {
        padding: 0.5rem;
        border-bottom: 1px solid #eee;
    }

    select[multiple] option:hover {
        background-color: #f8f9fa;
    }

    /* Date input styling */
    .date-input-group {
        position: relative;
    }

    .date-input-group .form-control {
        padding-right: 2.5rem;
    }

    .date-input-group::after {
        content: "📅";
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        pointer-events: none;
    }

        /* Project modal specific styles */
    #newProjectModal .modal-header {
        padding: 1rem 1.5rem;
    }

    #newProjectModal .form-check-input {
        margin-right: 0.5rem;
    }

    #newProjectModal .form-check-label {
        white-space: nowrap;
    }




.portal-calendar {
    position: relative;

    #portal_calendar {
        min-height: 600px;
    }

    .loading-overlay {
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.7);
        z-index: 1000;
        align-items: center;
        justify-content: center;
    }

    &.loading .loading-overlay {
        display: flex;
    }

    .fc-event {
        cursor: pointer;
        padding: 2px 5px;
        margin-bottom: 2px;
        border-radius: 3px;
        white-space: normal !important;
    }

    .fc-daygrid-event {
        white-space: normal !important;
    }
}

   .team-avatar {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        font-size: 1.2rem;
    }

    .avatar-1 {
        background-color: #e9ecef;
    }

    .customer-type-badge {
        padding: 0.25rem 0.5rem;
        border-radius: 4px;
        font-size: 0.75rem;
        font-weight: 500;
    }

    .type-partner {
        background-color: #e3f2fd;
        color: #1976d2;
    }

    .hover-shadow:hover {
        box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075);
        transition: all 0.2s ease;
    }



     .portal-documents-container.loading {
        position: relative;
        opacity: 0.7;
        pointer-events: none;
    }

    .portal-documents-container.loading::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255,255,255,0.7);
        z-index: 10;
    }

    .document-item {
        transition: all 0.2s ease;
    }

    .document-item:hover {
        background-color: #f8f9fa;
    }

    .document-name {
        font-weight: 500;
    }

    .document-actions {
        min-width: 100px;
    }

    .fa-file-pdf {
        color: #e74c3c;
    }

    .fa-file-word {
        color: #2b579a;
    }

    .fa-file-excel {
        color: #217346;
    }

    .fa-file-image {
        color: #e67e22;
    }


/*portal_messages*/

#messages_list {
    position: relative;
    min-height: 200px;

    &.loading:after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.7) url('/web/static/src/img/loading.gif') no-repeat center;
        z-index: 1000;
    }

    .card {
        .card-body {
            img {
                max-width: 100%;
                height: auto;
            }

            iframe {
                max-width: 100%;
                border: none;
            }
        }

        .card-footer {
            background: rgba(0, 0, 0, 0.03);
        }
    }
}
.sidebar-section .nav-link:hover, .sidebar-section .nav-link.active {
    background-color: #ffffff1c;
    color: var(--primary-color);
}
.wysiwyg-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    background-color: rgba(255,255,255,0.8);
    border: 1px solid #ced4da;
    border-radius: 0.375rem;

    .spinner-border {
        width: 3rem;
        height: 3rem;
    }
}

.note-editor {
    &.note-frame {
        border: 1px solid #ced4da;
        border-radius: 0.375rem;

        .note-editing-area {
            .note-editable {
                padding: 0.5rem;
                min-height: 200px;
            }
        }
    }
}
 .o_wysiwyg_loader{
    background-image: none !important;
}

.wysiwyg-container {
    .note-editor {
        border: 1px solid #ced4da;
        border-radius: 0.375rem;

        .note-toolbar {
            background: #f8f9fa;
            border-bottom: 1px solid #ced4da;
            border-radius: 0.375rem 0.375rem 0 0;
            padding: 0.5rem;

            .note-btn-group {
                margin-right: 0.5rem;
            }
        }

        .note-editable {
            min-height: 200px;
            padding: 1rem;
        }
    }

    .emoji-picker {
        position: absolute !important;
        z-index: 1001 !important;
        max-width: 300px;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);

        &.dropdown-menu {
            display: block;
            visibility: hidden;
            opacity: 0;
            transition: opacity 0.3s;

            &.show {
                visibility: visible;
                opacity: 1;
            }
        }
    }

    .note-modal {
        z-index: 1050 !important;
    }
}

/* Base tag styling */
.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    align-items: center;
    max-width: 200px;
}

.project-tags .badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
    color: white !important; /* Ensure text is readable */
}

/* Odoo's standard tag color classes */
.o_tag_color_1 { background-color: #F06050!important; }
.o_tag_color_2 { background-color: #F4A460!important; }
.o_tag_color_3 { background-color: #F7CD1F!important; }
.o_tag_color_4 { background-color: #6CC1ED!important; }
.o_tag_color_5 { background-color: #814968!important; }
.o_tag_color_6 { background-color: #EB7E7F!important; }
.o_tag_color_7 { background-color: #2C8397!important; }
.o_tag_color_8 { background-color: #475577!important; }
.o_tag_color_9 { background-color: #D6145F!important; }
.o_tag_color_10 { background-color: #30C381!important; }
.o_tag_color_11 { background-color: #9365B8!important; }

.orange-badge {
    background-color: #ff9f43 !important;
    color: white !important;
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
}

.bg-light {
    --bs-bg-opacity: 1;
    background-color: #aea6a62e  !important;
}
/* dashboard file upload */
 .custom-file-upload .upload-dropzone {
        transition: all 0.3s ease;
        cursor: pointer;
        background: #f8f9fa;
    }
    
    .custom-file-upload .upload-dropzone:hover,
    .custom-file-upload .upload-dropzone.dragover {
        background-color: #e9ecef;
        border-color: #0d6efd !important;
    }
    
    .upload-icon {
        font-size: 3rem;
        opacity: 0.6;
    }
    
    .upload-preview-item {
        transition: all 0.2s ease;
        background: white;
    }
    
    .upload-preview-item:hover {
        background-color: #f8f9fa;
    }
    
    .file-icon {
        display: inline-block;
        width: 24px;
        height: 24px;
        text-align: center;
    }
    
    .file-pdf { color: #e74c3c; }
    .file-word { color: #2c81ba; }
    .file-excel { color: #1d6f42; }
    .file-image { color: #f39c12; }
    .file { color: #7f8c8d; }

  /* Custom scrollbar for modal */
    .modal-body::-webkit-scrollbar {
        width: 8px;
    }
    .modal-body::-webkit-scrollbar-track {
        background: #f1f1f1;
    }
    .modal-body::-webkit-scrollbar-thumb {
        background: #c1c1c1;
        border-radius: 4px;
    }
    .modal-body::-webkit-scrollbar-thumb:hover {
        background: #a8a8a8;
    }

    /* Upload preview scroll */
    .upload-preview::-webkit-scrollbar {
        width: 6px;
    }

    /* Sticky header/footer ensures buttons stay visible */
    .sticky-top {
        top: 0;
        z-index: 1020;
    }
    .sticky-bottom {
        bottom: 0;
        z-index: 1020;
    }

    /* Better dropzone styling */
    .upload-dropzone {
        transition: all 0.3s ease;
        background: #f8f9fa;
    }
    .upload-dropzone:hover {
        background: #e9ecef;
        border-color: #0d6efd !important;
    }

#o_section_dashboard tbody th  {color:black;}
#o_section_dashboard nav{width: 94% !important;}
#rc-anchor-container {
    background: #ffffff !important;
    color: #000!important;
}


span.input-group-btn button.btn.btn-default {
    outline: none;
}
.oe_signup_form .input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback){
    margin-left: calc(var(--border-width) * 3);

}

.oe_login_buttons .btn-primary{margin-bottom: 9px;}

/* Main form container */
.oe_signup_form {
    max-width: 41%;
    position: relative;
    margin: 50px auto;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    background: #ffffff;
    border-radius: 8px;
}

/* Tablet view */
@media (max-width: 992px) {
    .oe_signup_form {
        max-width: 60%;
        margin: 30px auto;
    }
}

/* Small tablet view */
@media (max-width: 768px) {
    .oe_signup_form {
        max-width: 80%;
        margin: 20px auto;
    }
}

/* Mobile view */
@media (max-width: 576px) {
    .oe_signup_form {
        max-width: 95%;
        margin: 10px auto;
        box-shadow: rgba(0, 0, 0, 0.25) 0px 3px 8px;
    }
}

/* Validation Section Styling */
.validation-container {
    border-radius: 0.5rem;
    overflow: hidden;
}

/* Deployed Task Styling */
.task-deployed {
    border: 2px solid #007bff !important;
    border-radius: 8px;
    padding: 15px;
    position: relative;
    background-color: #f5f9ff;
}

.task-deployed::before {
    content: "↗ Ready for Validation";
    color: #007bff;
    position: absolute;
    top: -12px;
    left: 15px;
    background: white;
    padding: 0 8px;
    font-size: 14px;
    font-weight: bold;
}


/* Rejected Task Styling */
.task-rejected {
    border: 2px solid #dc3545 !important;
    border-radius: 8px;
    padding: 15px;
    position: relative;
    background-color: #fff5f5;
}

.task-rejected::before {
    content: "⚠ Rejected";
    color: #dc3545;
    position: absolute;
    top: -12px;
    left: 15px;
    background: white;
    padding: 0 8px;
    font-size: 14px;
    font-weight: bold;
}
/* Validated Task Styling */
.task-validated {
    border: 2px solid #28a745 !important;
    border-radius: 8px;
    padding: 15px;
    position: relative;
    background-color: #f5fff7;
}

.task-validated::before {
    content: "✓ Validated";
    color: #28a745;
    position: absolute;
    top: -12px;
    left: 15px;
    background: white;
    padding: 0 8px;
    font-size: 14px;
    font-weight: bold;
}
.dark .task-rejected::before , .dark .task-validated::before , .dark .task-deployed::before{background: #4b4a4a;}

#helpdesk_content #portal_doc_content{padding: 18px;}
.dark .portal-info-card{background: #888888;}
.dark .portal-info-title , .dark .portal-info-labe , .dark .portal-info-value , .dark .portal-description , .dark .portal-info-label {color: white;}
.dark .portal-ticket-title {color: #ff9f43;}

/*shop css*/
/* ====== PRODUCT ITEM CARD ====== */
.oe_product_cart {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: white;
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.oe_product_cart:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ====== IMAGE CONTAINER ====== */
.oe_product_image {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1; /* Ensures square ratio - change if needed */
  overflow: hidden;
  background: #f9f9f9;
}

/* Handles both large and small images */
.oe_product_image_img_wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.oe_product_image_img_wrapper img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain; /* Preserves aspect ratio */
  padding: 15px;
  transition: transform 0.3s ease;
}

.oe_product_cart:hover .oe_product_image_img_wrapper img {
  transform: scale(1.03);
}

/* ====== PRODUCT INFO ====== */
.o_wsale_product_information {
  padding: 12px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.o_wsale_products_item_title {
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.3;
}

.o_wsale_products_item_title a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s;
}

.o_wsale_products_item_title a:hover {
  color: var(--primary);
}

/* ====== PRICE SECTION ====== */
.product_price {
  margin-top: auto; /* Pushes price to bottom */
  padding-top: 8px;
}

.product_price .h6 {
  font-weight: bold;
  color: #222;
  margin-bottom: 0;
}

/* ====== RIBBON STYLING ====== */
.o_ribbon {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: bold;
  border-radius: 3px;
  z-index: 2;
}

/* ====== UNPUBLISHED STATE ====== */
.btn-danger {
  font-size: 10px;
  padding: 1px 4px;
  margin-left: 6px;
  vertical-align: middle;
}

/* ====== RESPONSIVE ADJUSTMENTS ====== */
@media (max-width: 576px) {
  .oe_product_image {
    aspect-ratio: 1.2/1; /* Wider on mobile */
  }

  .o_wsale_products_item_title {
    font-size: 13px;
  }
}
.o_project_sharing_container .style-6 {display:none;}


/* Activity Styling */
.activity-item {
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.activity-item:hover {
    background-color: #e9ecef;
}

.activity-item .mark-done-btn {
    transition: all 0.2s ease;
}

.activity-item .mark-done-btn:hover {
    background-color: #28a745;
    color: white;
}

/* Tab styling */
.o_project_portal_attachments .nav-tabs .nav-link {
    border: none;
    color: #6c757d;
    font-weight: 500;
    padding: 0.75rem 1.25rem;
}

.o_project_portal_attachments .nav-tabs .nav-link.active {
    color: #0d6efd;
    border-bottom: 3px solid #0d6efd;
    background: transparent;
}

/* Timeline styling */
.o_project_portal_attachments .activity-timeline {
    position: relative;
    padding-left: 1.5rem;
}

.o_project_portal_attachments .activity-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0.5rem;
    height: 100%;
    width: 2px;
    background: #dee2e6;
}

.o_project_portal_attachments .activity-item {
    position: relative;
    padding-bottom: 1.5rem;
}

.o_project_portal_attachments .activity-item:last-child {
    padding-bottom: 0;
}

.o_portal_wrap .o_portal_my_doc_table td{
    max-width: 100%;
}
.product-details-content .btn-link {text-decoration: none!important;    color: rgb(52 152 219);}
/*
.o_project_portal_attachments {
    .attachment-preview-container {
        transition: all 0.3s ease;

        img, iframe {
            transition: transform 0.3s ease;
        }
    }

    .oe_attachment_embedded {
        transition: all 0.2s ease;
        border-radius: 4px;
        overflow: hidden;

        &:hover {
            transform: scale(1.05);
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }
    }
}*/
            @media (max-width: 767px) {
     /*           .quote-sidebar {
                    top: auto !important;
                    bottom: 20px !important;
                    transform: none !important;
                }*/
                .quote-popup > div > div {
                    padding: 15px !important;
                }
                .quote-button {
                    padding: 10px !important;
                }
            }