/* WRAPPER */
.jks-dashboard-wrapper {
    max-width: 1100px !important;
    margin: 40px auto !important;
    padding: 20px !important;
}

/* DASHBOARD GRID */
.jks-dashboard-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
    gap: 25px !important;
    margin-top: 30px !important;
}

/* BASE CARD STYLE */
.jks-card {
    border-radius: 22px !important;
    padding: 25px !important;
    color: white !important;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    text-decoration: none !important;
    position: relative !important;
    overflow: hidden !important;
    background: #ccc !important;
}

.jks-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18) !important;
}

/* BUTTON HOVER */
.jks-card__footer a:hover {
    background: rgba(255,255,255,0.25) !important;
    transform: translateY(-3px) !important;
    transition: 0.2s ease-in-out !important;
}

/* BUTTON ACTIVE / CLICK */
.jks-card__footer a:active {
    background: rgba(255,255,255,0.4) !important;
    transform: translateY(0px) !important;
    transition: 0.05s ease-in-out !important;
}


/* CARD LABEL */
.jks-card__tag {
    font-weight: 700 !important;
    opacity: 0.9 !important;
    font-size: 14px !important;
    display: block !important;
}

/* CARD TITLE */
.jks-card h3 {
    font-size: 22px !important;
    margin: 8px 0 !important;
}

/* CARD TEXT */
.jks-card p {
    opacity: 0.95 !important;
    font-size: 15px !important;
}

/* CARD BUTTON */
.jks-card__footer a {
    margin-top: 12px !important;
    padding: 10px 16px !important;
    border-radius: 10px !important;
    font-weight: bold !important;
    text-decoration: none !important;
    display: inline-block !important;
    border: 2px solid rgba(255,255,255,0.7) !important;
    color: white !important;
}

/* COLOR THEMES */
.jks-card--yellow {
    background: linear-gradient(135deg, #fbbf24, #f59e0b) !important;
}

.jks-card--green {
    background: linear-gradient(135deg, #009846, #00ad52) !important;
}

.jks-card--blue {
    background: linear-gradient(135deg, #2563eb, #1e40af) !important;
}

.jks-card--pink {
    background: linear-gradient(135deg, #ec4899, #d946ef) !important;
}




/* ============================
   COMMENTS SECTION
   ============================ */

.jks-comments-section {
    margin-top: 48px;
}

/* Header card spacing */
.jks-comments-header {
    margin-bottom: 32px;
}

/* ============================
   TWO-TERM LAYOUT
   ============================ */

.jks-comments-two-terms {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: flex-start;
}

.jks-comments-column {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 360px));
    gap: 18px;
    justify-content: start;
}

/* Term title */
.jks-comments-column-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 6px;
}

/* ============================
   COMMENT CARDS
   ============================ */

.jks-comment-card {
    background: #e5e5e5 !important;
    color: #222 !important;
    padding: 16px !important;
    border-radius: 14px !important;
    min-height: 140px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.12) !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 360px !important; /* keep compact even if grid fails */
}

/* Teacher name */
.jks-comment-teacher {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}

/* Comment text */
.jks-comment-text {
    font-size: 14px;
    line-height: 1.5;
}

/* Empty state */
.jks-comments-empty {
    font-size: 14px;
    opacity: 0.7;
}


.jks-comments-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 360px)) !important;
    gap: 20px !important;
    justify-content: start !important;
}









