.text-darkpurple{
	color: #3E1D47;
}
.text-purple{
	color: #70367C;
}
.bg-purple{
	background-color: #70367C;
	color: #ffffff;
}
.avatar-mix{
	margin-left: -60px;
}
.theme-primary .progress-bar-white {
    background-color: #ffffff;
}
.progress {
  background-color: #00000040;
}
.bg-skyblue{
	background-color: #95CFD5;
	color: #ffffff;
}
.bg-orange{
	background-color: #FD7E50	;
	color: #ffffff;
}
.border-skyblue{
	border-color: #95CFD5 !important;
}
.border-purple{
	border-color: #70367C !important;
}
.border-orange{
	border-color: #FD7E50 !important;
}
.bs-8 {
    border-left: 8px solid #f3f6f9;
}
.wrapper .border-lightfade {
    border-color: rgb(72 72 72 / 48%) !important;
}
.btn-black {
    background-color: #000000;
    border-color: #000000;
    color: #ffffff;
}
.btn-black:hover, .btn-black:active, .btn-black:focus, .btn-black.active {
    background-color: #393939 !important;
    border-color: #393939 !important;
    color: #ffffff;
}


.development-box{
	padding-bottom: 30px;
}
.left-section{
	padding: 0px 45px;
}
.light-skin .big-left-section{
	background-color: #fff;
	border-radius: 0px 50px 50px 0px;
}
.dark-skin .big-left-section{
	background-color: #12213c;
	border-radius: 0px 50px 50px 0px;
}
.rtl .big-left-section{
	border-radius: 50px 0px 0px 50px;
}
.right-section{
	padding: 0px 30px;
}
.light-skin .bg-lightbrown{
	background-color: #FBF5EE;
}
.dark-skin .bg-lightbrown{
	background-color: #0c1a32;
}
.image-section{
	background-image: url(../../images/custom.png);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: right;
}
.theme-primary .hover-primary:hover, .theme-primary .hover-primary:focus {
    color: #70367C !important;
}
.left-task-section{
	padding: 0px 26px;
}
.left-section-1{
	padding: 0px 30px;
}
/*.demo-radio-button label {
    min-width: 00px;
    margin-bottom: 0px;
}
.theme-primary [type=radio].with-gap.radio-col-primary:checked + label:after {
    border: 2px solid #000000;
    background-color: #000000;
    z-index: 0;
    content: 'f058';
}
.theme-primary [type=radio].with-gap.radio-col-primary:checked + label:before {
    border: 2px solid #000000;

}*/

.container {
  display: block;
  position: relative;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  border: 1px solid black;
  background-color: transparent;
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.container input:checked ~ .checkmark {
  background-color: #000000;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.container .checkmark:after {
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}


/*=========================================================*/
@media only screen and (max-width: 1600px) {
  .right-section{
		padding: 0px 25px;
	}
}
@media only screen and (max-width: 1440px) {
  .right-section{
		padding: 0px 5px;
	}
	.left-section{
		padding: 0px 35px;
	}
	.left-section-1{
		padding: 0px 20px;
	}
}
@media only screen and (max-width: 1366px) {
  .big-left-section{
		background-color: #fff;
		border-radius: 0px 0px 50px 50px;
	}
	.right-section{
		padding: 0px 15px;
	}
	.right-border{
		border-right: 1px solid #fff;
	}
	.left-section-1{
		padding: 0px 15px;
	}
}

@media only screen and (max-width: 1024px) {
	.left-section{
		padding: 0px 20px;
	}
	.left-task-section{
		padding: 0px 25px;
	}
}
@media (min-width: 992px){  
	.ms-lg-5 {
	    margin-left: 5px !important;
	}
}
@media only screen and (max-width: 835px) {
	.right-border{
		border-right: 0px solid #fff;
	}
}

/* Custom Modal Backdrop Styling */
.custom-modal-1 {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1055;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
}

body.modal-opens {
    overflow: hidden;
}

body.modal-opens::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 1050;
    transition: all 0.3s ease;
}

/* Modal stacking helper: each modal will get higher z-index from JS manager */
.custom-modal-1 {
    will-change: transform, opacity;
}

/* Prevent hidden/underneath modals from being interactable */
.custom-modal-1[aria-hidden="true"] {
    pointer-events: none;
    opacity: 0;
    transform: translateY(-10px);
}

.custom-modal-1-dialog {
    position: relative;
    width: auto;
    margin: 1.75rem;
    pointer-events: none;
    z-index: 1060;
}

.custom-modal-1-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    outline: 0;
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.3s ease;
}

body.modal-opens .custom-modal-1-content {
    transform: translateY(0);
    opacity: 1;
}

.custom-modal-1-body {
    position: relative;
    flex: 1 1 auto;
    padding: 1rem;
}

.custom-modal-1-inner {
    padding: 1rem;
}

.close-custom-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1070;
    transition: all 0.3s ease;
}

.close-custom-modal:hover {
    background: #c82333;
    transform: scale(1.1);
}

.zoom-custom-modal {
    position: absolute;
    top: 15px;
    right: 60px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1070;
    transition: all 0.3s ease;
}

.zoom-custom-modal:hover {
    background: #5a6268;
    transform: scale(1.1);
}

.save-custom-modal {
    position: absolute;
    top: 15px;
    right: 105px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    z-index: 1070;
    transition: all 0.3s ease;
}

.save-custom-modal:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Responsive modal sizing */
@media (min-width: 576px) {
    .custom-modal-1-dialog {
        max-width: 500px;
        margin: 1.75rem auto;
    }
}

@media (min-width: 992px) {
    .custom-modal-1-dialog {
        max-width: 800px;
    }
}

@media (min-width: 1200px) {
    .custom-modal-1-dialog {
        max-width: 1000px;
    }
}

/* Checkbox striped styling */
.checkbox-striped {
    margin-bottom: 0.5rem;
}

.checkbox-striped-wrapper {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0;
    margin: 0;
}

.checkbox-striped-input {
    display: none;
}

.checkbox-striped-tile {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    width: 100%;
}

.checkbox-striped-input:checked + .checkbox-striped-tile {
    background: #e3f2fd;
    border-color: #2196f3;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.2);
}

.checkbox-striped-tile h6 {
    margin: 0 0 0.25rem 0;
    color: #333;
    font-weight: 600;
}

.checkbox-striped-tile small {
    margin: 0;
    color: #6c757d;
    font-weight: 400;
}

.checkbox-striped-input:checked + .checkbox-striped-tile h6 {
    color: #1976d2;
}

.checkbox-striped-input:checked + .checkbox-striped-tile small {
    color: #1976d2;
}

/* Project Card Dropdown Styles */
.coverImage-content {
    position: absolute;
    top: 40px;
    right: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    min-width: 160px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.1);
}

.coverImage-content.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.coverImage-content a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.2s ease;
    font-size: 14px;
}

.coverImage-content a:last-child {
    border-bottom: none;
}

.coverImage-content a:hover {
    background-color: #f8f9fa;
    color: #007bff;
    transform: translateX(3px);
}

.coverImage-content a i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

/* Progress Bar Enhancements */
.progress-container {
    position: relative;
    margin-top: 8px;
}

.progress {
    height: 8px !important;
    border-radius: 4px !important;
    background-color: rgba(0,0,0,0.1) !important;
    overflow: hidden;
}

.progress-bar {
    transition: width 0.6s ease;
    border-radius: 4px;
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Avatar Group Styling */
.avatar-group .avatar {
    transition: transform 0.2s ease;
}

.avatar-group .avatar:hover {
    transform: scale(1.05);
    cursor: pointer;
}

/* Modal Enhancements */
.custom-modal-1 {
    transition: all 0.3s ease;
}

.custom-modal-1-dialog {
    transition: transform 0.3s ease;
}

#users-modal .card {
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#users-modal .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

#delete-confirmation-modal .alert {
    border-radius: 8px;
    border: none;
}

#delete-confirmation-modal .btn {
    border-radius: 6px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.2s ease;
}

#delete-confirmation-modal .btn:hover {
    transform: translateY(-1px);
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .coverImage-content {
        right: -10px;
        min-width: 140px;
    }
    
    .coverImage-content a {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    #users-modal .custom-modal-1-dialog {
        margin: 10px;
        max-width: calc(100% - 20px);
    }
    
    #delete-confirmation-modal .custom-modal-1-dialog {
        margin: 20px;
        max-width: calc(100% - 40px);
    }
}

/* Card Info Button Styling */
#card-info {
    cursor: pointer;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

#card-info:hover {
    background-color: rgba(255,255,255,0.2);
    transform: scale(1.1);
}

/* Toast Improvements */
.custom_toast {
    z-index: 9999;
}

/* Card Hover Effects */
.card.swiper-slide {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card.swiper-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Enhanced Modal Styles for Project Users */
#users-modal .custom-modal-1-dialog {
    transition: transform 0.3s ease;
}

#users-modal .project-info-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#users-modal .info-item {
    display: flex;
    flex-direction: column;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #007bff;
    transition: all 0.2s ease;
}

#users-modal .info-item:hover {
    background: #e9ecef;
    transform: translateX(3px);
}

#users-modal .info-label {
    font-size: 12px;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

#users-modal .info-value {
    font-size: 14px;
    color: #495057;
    font-weight: 500;
}

#users-modal .status-badge,
#users-modal .priority-badge {
    font-size: 11px;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#users-modal .progress-info .progress {
    height: 6px;
    border-radius: 3px;
    background-color: #e9ecef;
}

#users-modal .division-card {
    transition: all 0.3s ease;
    background: white;
}

#users-modal .division-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

#users-modal .division-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

#users-modal .bagian-section {
    transition: all 0.2s ease;
}

#users-modal .bagian-section:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.1);
}

#users-modal .user-card {
    transition: all 0.2s ease;
    border: 1px solid #e9ecef;
    background: white;
}

#users-modal .user-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #007bff;
}

/* Enhanced user list styling to match screenshot */
#users-modal .user-list .user-item {
    transition: all 0.2s ease;
    border: 1px solid #e9ecef;
    background: white;
    margin-bottom: 8px;
}

#users-modal .user-list .user-item:hover {
    transform: translateX(3px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-color: #28a745;
}

#users-modal .user-info strong {
    font-size: 14px;
    color: #2c3e50;
}

#users-modal .user-info small {
    font-size: 12px;
    color: #6c757d;
}

/* Role badges styling */
#users-modal .badge-sm {
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: lowercase;
}

/* Team Lead badge specific styling */
#users-modal .badge.bg-danger {
    background-color: #dc3545 !important;
}

/* Member badge styling */
#users-modal .badge.bg-info {
    background-color: #0dcaf0 !important;
}

/* Division header enhancements */
#users-modal .division-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 2px solid #dee2e6;
}

#users-modal .division-card {
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border: 1px solid #dee2e6 !important;
}

/* Bagian section enhancements */
#users-modal .bagian-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid #28a745;
    border-left: 4px solid #28a745 !important;
    box-shadow: 0 1px 5px rgba(40, 167, 69, 0.1);
}

/* Responsive adjustments for user items */
@media (max-width: 768px) {
    #users-modal .user-item {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 8px;
    }
    
    #users-modal .user-item .badge-sm {
        align-self: flex-end;
    }
}

#users-modal .special-users-card {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 2px solid #ffc107;
}

#users-modal .badge-sm {
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 12px;
}

/* Responsive design for the new modal */
@media (max-width: 992px) {
    #users-modal .custom-modal-1-dialog {
        max-width: 95%;
        margin: 10px;
    }
    
    #users-modal .row {
        margin: 0;
    }
    
    #users-modal .col-lg-5,
    #users-modal .col-lg-7 {
        padding: 0 8px;
    }
}

@media (max-width: 768px) {
    #users-modal .custom-modal-1-dialog {
        width: 100%;
        height: 100%;
        max-width: 100%;
        margin: 0;
    }
    
    #users-modal .custom-modal-1-content {
        height: 100vh;
        border-radius: 0;
    }
    
    #users-modal .project-info-grid {
        gap: 10px;
    }
    
    #users-modal .info-item {
        padding: 10px;
    }
    
    #users-modal .division-card {
        margin-bottom: 15px;
    }
    
    #users-modal .bagian-section {
        margin-bottom: 15px;
        padding: 15px;
    }
    
    #users-modal .user-card {
        margin-bottom: 8px;
    }
}

/* Scrollbar styling for organization structure */
#organization-structure-container::-webkit-scrollbar {
    width: 6px;
}

#organization-structure-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

#organization-structure-container::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

#organization-structure-container::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Animation for modal content */
#users-modal .custom-modal-1-inner {
    animation: slideInUp 0.3s ease-out;
}

@keyframes slideInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ======================= Enhanced Project Info Card Styles (appended) ======================= */
.project-info-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.project-info-grid .info-item {
    background: #ffffff;
    border-radius: 10px;
    padding: 14px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.06);
}
.project-info-grid .header-row .project-title {
    font-size: 16px;
    color: #1f2d3d;
}
.project-info-grid .header-row .project-name {
    color: #2b6cb0;
}
.status-priority .badge {
    margin-left: 6px;
    text-transform: capitalize;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 16px;
    font-size: 12px;
}
.status-badge { background: linear-gradient(90deg,#4f46e5,#06b6d4); color: #fff; }
.priority-badge { background: linear-gradient(90deg,#ef4444,#f97316); color: #fff; }

.progress-section .progress-enhanced {
    height: 12px;
    border-radius: 8px;
    background: linear-gradient(90deg, rgba(0,0,0,0.06), rgba(0,0,0,0.03));
    overflow: hidden;
    position: relative;
}
.progress-bar-enhanced {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg,#10b981,#06b6d4);
    box-shadow: 0 4px 18px rgba(16,185,129,0.18) inset;
    transition: width 0.6s cubic-bezier(.2,.9,.3,1);
}
.progress-percent .percent-value { font-size: 18px; color: #2b6cb0; }

.finance-section .finance-value {
    font-weight: 700;
    color: #1f2937;
    margin-top: 4px;
}
.finance-section .budget { color: #0b5; }
.finance-section .spent { color: #ef4444; }
.finance-section .duration { color: #6b7280; font-weight: 600; }

.notes-section .project-note { min-height: 40px; }

@media (max-width: 767px) {
    .project-info-grid .header-row { flex-direction: column; gap: 8px; }
    .status-priority { display: flex; gap: 6px; justify-content: flex-end; }
    .project-info-grid .info-item { padding: 12px; }
    .progress-percent .percent-value { font-size: 16px; }
}

@media (min-width: 768px) {
    .project-info-grid { gap: 18px; }
    .project-info-grid .header-row { display: flex; align-items: flex-start; }
}

#users-modal .project-info-grid .info-item {
    transform: translateY(6px);
    opacity: 0;
    animation: itemFadeIn 0.45s ease forwards;
}
@keyframes itemFadeIn {
    to { transform: translateY(0); opacity: 1; }
}

.project-title .muted { color: #6b7280; font-weight: 500; }
.text-muted.small { font-size: 12px; }

.custom-modal-1-dialog { max-height: 92vh; overflow-y: auto; }

.status-badge:focus, .priority-badge:focus { outline: 3px solid rgba(37, 99, 235, 0.18); }

/* end appended styles */