/* Full-screen perspective styles */
.custom-fullscreen-perspective {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95);           
    transition: opacity 0.2s ease, 
    visibility 0.3s ease,
    transform 0.3s ease;
  }

.custom-fullscreen-perspective.animated-show {
  opacity: 1;
  visibility: visible;
  transform: scale(1);              
}
  
  .custom-fullscreen-content {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: var(--bg-white);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
  }
  
  .custom-fullscreen-header, 
  .custom-fullscreen-footer {
    background-color: var(--bg-white);
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .custom-fullscreen-header{
    height: 54px;
    flex-shrink: 0;
    background-color: var(--bg-cool-gray-9);
  }
  
  .custom-fullscreen-body {
    flex: 1 1 auto;
    padding: 12px;
    overflow-y: auto;
    background-color: var(--bg-cool-gray-2);
  }

  .custom-fullscreen-footer{
    flex-shrink: 0;
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-gray-2);
    justify-content: flex-end;
    padding-bottom: 0px;
  }
  
  
.perspective-tabs {
    display: flex;

}

.perspective-tab i{
    margin-right: 8px;
}

.perspective-tabs .perspective-tab {
    padding: 8px 14px;
    border-radius: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-14);
    color: var(--text-white);
    margin-right: 4px;
}

.perspective-tabs .perspective-tab:hover {
    background-color: var(--bg-gray-8);
}

.perspective-tabs .perspective-tab.active {
    color: var(--text-white);
    background-color: var(--bg-primary-7);
}


/* Buttons start */


.btn-primary-green {
    color: var(--white);
    background: var(--green-500) !important;
    font-weight: 500;
    border-radius: 4px;
    margin-left : 4px;
    margin-bottom: 12px;
    box-shadow: rgb(37 192 85 / 57%) 4px 10px 5px -9px !important;
}

.btn-primary-green:hover,
.btn-primary-green:active {
    background: var(--green-600) !important;
    border-color: transparent !important;
    color: var(--white);
}

.btn-primary-blue {
    color: var(--white);
    background: var(--blue-500) !important;
    font-weight: 500;
    border-radius: 4px;
    margin-left : 4px;
    margin-bottom: 12px;
    box-shadow: rgb(37 99 192 / 57%) 4px 10px 5px -9px !important;
}

.btn-primary-blue:hover,
.btn-primary-blue:active {
    background: var(--blue-600) !important;
    border-color: transparent !important;
    color: var(--white);
}

.btn-primary-red {
    color: var(--white);
    background: var(--red-500) !important;
    font-weight: 500;
    border-radius: 4px;
    margin-left : 4px;
    margin-bottom: 12px;
    box-shadow: rgb(192 37 37 / 57%) 4px 10px 5px -9px !important;
}

.btn-primary-red:hover,
.btn-primary-red:active {
    background: var(--red-600) !important;
    border-color: transparent !important;
    color: var(--white);
}

.btn-primary-yellow {
    color: var(--white);
    background: var(--yellow-400) !important;
    font-weight: 500;
    border-radius: 4px;
    margin-left : 4px;
    margin-bottom: 12px;
    box-shadow: rgb(172 192 37 / 57%) 4px 10px 5px -9px !important;
}

.btn-primary-yellow:hover,
.btn-primary-yellow:active {
    background: var(--yellow-500) !important;
    border-color: transparent !important;
    color: var(--white);
}




.btn-secondary-green {
    color: var(--green-600);
    background: var(--green-50) !important;
    font-weight: 500;
    border-radius: 4px;
    margin-left : 4px;
    margin-bottom: 12px;
}

.btn-secondary-green:hover,
.btn-secondary-green:active {
    background: var(--green-100) !important;
    border-color: transparent !important;
    color: var(--green-600);
}

.btn-secondary-blue {
    color: var(--blue-600);
    background: var(--blue-50) !important;
    font-weight: 500;
    border-radius: 4px;
    margin-left : 4px;
    margin-bottom: 12px;
}

.btn-secondary-blue:hover,
.btn-secondary-blue:active {
    background: var(--blue-100) !important;
    border-color: transparent !important;
    color: var(--blue-600);
}

.btn-secondary-red {
    color: var(--red-600);
    background: var(--red-50) !important;
    font-weight: 500;
    border-radius: 4px;
    margin-left : 4px;
    margin-bottom: 12px;
}

.btn-secondary-red:hover,
.btn-secondary-red:active {
    background: var(--red-100) !important;
    border-color: transparent !important;
    color: var(--red-600);
}

.btn-secondary-yellow {
    color: var(--yellow-600);
    background: var(--yellow-50) !important;
    font-weight: 500;
    border-radius: 4px;
    margin-left : 4px;
    margin-bottom: 12px;
}

.btn-secondary-yellow:hover,
.btn-secondary-yellow:active {
    background: var(--yellow-100) !important;
    border-color: transparent !important;
    color: var(--yellow-600);
}

/* Buttons ends */

.head{
    height: 48px;
    flex-shrink: 0;
    padding-right: 8px !important;
}

.table-input{
	width: 100%;
    height: 100%;
    padding: 0px 12px;
    border: 1px solid var(--border-primary-2);
    outline: none;
    font-size: var(--font-14);
    box-sizing: border-box;
}

.table-input:focus{
	border: 1px solid var(--border-primary-6) !important;
}

.table-heading{
    color: var(--pink-500) !important;
    font-weight: 500;
}

.verification-table .table-heading{
    color: var(--pink-500) !important;
    font-weight: 500;
    padding-top: 12px;
    padding-bottom: 12px;
}

.table-heading.text-orange{
    color: var(--orange-500) !important;
}

.verification-table tbody>tr:nth-child(even)>td,
tbody>tr:nth-child(even)>th {
    background-color: var(--bg-white) !important;
}


.attachment-card, .timeline-card, .stretched-card {
    display: flex;
    align-items: center;
}


.note-card{
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    flex-direction: column;
}

.grabable{
    cursor: grab;
     user-select: none; /* Standard */
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Old IE */
}

.grabable:active {
    cursor: grabbing;
  }

.drag-drop-box{
    border: 2px dashed var(--gray-200);
    color: var(--gray-400);
    margin: 4px;
    display: flex;
    justify-content: start;
    align-items: center;
    padding: 4px;
    font-size: var(--font-12);
    overflow: hidden;
}

.drag-drop-item{
    border: 1px solid var(--green-300);
    background-color: var(--green-100);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 4px;
    padding: 4px 4px 4px 8px ;
}

.drag-drop-item p{
     width: 140px;
}


.card-style{
    border-radius: var(--b-r-8);
    border : 1px solid var(--border-gray-3);
    background-color: var(--bg-white);
}

.card-style.active{
    background-color: var(--bg-primary-1);
    border: 1px solid var(--border-primary-4);
}

.card-style.active .card-heading{
    font-weight: 500;
    color: var(--text-primary-3)!important;
}

.card-style.active .card-icon{
    color: var(--text-primary-3)!important;
}

.card-style:hover:not(.card-style.active){
    background-color: var(--bg-gray-1);

}

.card-style:hover.no-hover{
    background-color: unset !important;
    cursor: default !important;
}

.bg-cool-gray-2 .card-style:hover.no-hover{
    background-color: white !important;
    cursor: default !important;
}

.card-style:hover.timeline-card, .card-style:hover.no-hover{
    background-color: var(--bg-gray-1);
    cursor: default !important;
}


.sub-footer{
    border-radius: var(--b-r-8);
    background-color: var(--bg-gray-1);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding: 12px;
}

.noteCount {
    padding: 4px 12px;
	font-size: 12px;
    border-radius: 4px;
    position: absolute;
    top: -2px;
    right: 6px;
    background: var(--yellow-200);
    color: var(--gray-900);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cke_chrome{
	border-bottom: 0 !important;
	border-color: var(--border-gray-2) !important;
}


.line{
    height: 100px;
    border: 1px dashed #c4c4c4;
    transform: translateX(20px);
    z-index: 1;
}

.timelineCount{
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    
}

.timelineCountActive{
    width: 30px;
    height: 30px;
    background-color: var(--bg-primary-6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.note-card table{
    font-size: 13px;
    border: 1px solid lightgray;
}

.note-card table td{
    padding : 5px;
    border: 1px solid lightgray;
}

.note-card a, #lastAddedNote a{
    color : var(--blue-600);
    font-style: inherit;
    text-decoration: underline !important;
}

.custom-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(142px, 1fr));
}
.custom-amount-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px;
  border: 1px solid var(--border-gray-2); 
  background-color: var(--bg-tertiary-1);
  border-radius: var(--b-r-4);
}

.custom-grid > .custom-amount-card:nth-child(3):nth-last-child(1) {
    grid-column: 1 / -1; /* third card spans full width if it’s the last */
}

.left-with-sidenav{
  width: 25%;
  flex-shrink: 0;
  transition: opacity 0.3s ease, transform 0.3s ease, width 0.2s ease;
}
.right-with-sidenav{
    flex: 1;
    transition: flex 0.2s ease;
    min-width: 0;  
}
.hidden {
  width: 0 !important;
  padding: 0 !important;
  overflow-x: hidden;
}
