/* ===================================================================
   CARDS/EXPANDED.CSS
   Expanded Card Modal Styles
   =================================================================== */
/* ===== 51. EXPANDED CARD ===== */

/* ----- 51.1 Base Styles ----- */
.expanded-mod-card {
    background-color: rgba(33, 37, 41, 0.9);
    border-radius: 8px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-height: 90vh;
}

/* ----- 51.2 Card Header ----- */
.expanded-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 0 15px;
    position: sticky;
    top: 0;
    background-color: rgba(33, 37, 41, 0.95);
    z-index: 10;
}

.expanded-card-header h2 {
    font-size: 24px;
    margin: 0;
    color: #fff;
}

/* ----- 51.3 Card Body ----- */
.expanded-card-body {
    flex: 1;
    overflow-y: auto;
    padding-right: 10px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    transform: translateZ(0);  /* Hardware acceleration */
    backface-visibility: hidden;
    will-change: transform;
    scroll-behavior: auto;
}

/* ----- 51.4 Custom Scrollbar ----- */
.expanded-card-body::-webkit-scrollbar {
    width: 6px;
}

.expanded-card-body::-webkit-scrollbar-track {
    background: transparent;
}

.expanded-card-body::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

/* ----- 51.5 Card Footer ----- */
.expanded-card-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}


