/* ============================================================
   SIHM Student Login — Dashboard / Marksheet Styles
   ============================================================ */

.sihm-dash-wrap {
    max-width: 720px;
    margin: 0 auto;
    padding: 32px 16px 60px;
    font-family: "Outfit", sans-serif;
}

.sihm-dash-header {
    background: linear-gradient(135deg, #0b1d3a 0%, #1a3260 100%);
    border-radius: 16px 16px 0 0;
    padding: 28px 32px;
    position: relative;
}

.sihm-dash-header::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #e8600a, #c8981a, #ffa040);
    border-radius: 16px 16px 0 0;
}

.sihm-dash-header-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.sihm-dash-logo-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.sihm-dash-logo {
    width: 46px; height: 46px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    overflow: hidden;
}

.sihm-dash-logo img { width: 100%; height: 100%; object-fit: contain; }

.sihm-dash-institute {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffa040;
    font-weight: 500;
    margin-bottom: 5px;
}

.sihm-dash-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
}

.sihm-dash-verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(46, 204, 113, 0.15);
    border: 1px solid rgba(46, 204, 113, 0.3);
    color: #4ade80;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 5px 12px;
    border-radius: 100px;
    white-space: nowrap;
    flex-shrink: 0;
}

.sihm-dash-divider {
    width: 48px; height: 3px;
    background: linear-gradient(90deg, #e8600a, transparent);
    border-radius: 2px;
    margin-top: 16px;
}

/* Info Grid */
.sihm-dash-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #ffffff;
    border-left: 1px solid rgba(0, 0, 0, 0.06);
    border-right: 1px solid rgba(0, 0, 0, 0.06);
    padding: 24px 32px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.sihm-dash-info-cell {
    padding: 12px 20px 12px 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.06);
}

.sihm-dash-info-cell:nth-child(even) {
    padding-left: 24px;
    border-left: 1px dashed rgba(0, 0, 0, 0.06);
}

.sihm-dash-info-cell:nth-last-child(-n+2) { border-bottom: none; }

.sihm-dash-info-key {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #a0aec0;
    margin-bottom: 5px;
}

.sihm-dash-info-val {
    font-size: 15px;
    font-weight: 600;
    color: #0b1d3a;
}

.sihm-dash-roll {
    /*font-family: "Cormorant Garamond", serif;*/
    font-size: 18px;
    color: #e8600a;
    font-weight: 700;
}

/* Marksheet */
.sihm-dash-ms-area {
    background: #ffffff;
    border-left: 1px solid rgba(0, 0, 0, 0.06);
    border-right: 1px solid rgba(0, 0, 0, 0.06);
    padding: 24px 32px;
}

.sihm-dash-ms-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #0b1d3a;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sihm-dash-ms-label::after {
    content: "";
    flex: 1; height: 1px;
    background: linear-gradient(90deg, #e8600a, transparent);
    opacity: 0.2;
}

.sihm-dash-ms-frame {
    background: #f8f6f2;
    border: 1.5px dashed #cbd5e0;
    border-radius: 12px;
    overflow: hidden;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sihm-dash-ms-empty {
    text-align: center;
    padding: 48px 24px;
    color: #a0aec0;
}

.sihm-dash-ms-icon { font-size: 40px; opacity: 0.4; margin-bottom: 10px; }
.sihm-dash-ms-empty p { font-size: 13px; line-height: 1.6; }

/* Actions */
.sihm-dash-actions {
    background: #fafbff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-top: none;
    border-radius: 0 0 16px 16px;
    padding: 18px 32px 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.sihm-dash-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 11px 22px;
    border-radius: 9px;
    font-family: "Outfit", sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all 0.2s;
}

.sihm-dash-btn-primary {
    background: #0b1d3a;
    color: #fff;
    box-shadow: 0 4px 14px rgba(11, 29, 58, 0.2);
}

.sihm-dash-btn-primary:hover {
    background: #1a3260;
    transform: translateY(-1px);
}

.sihm-dash-btn-secondary {
    background: #fff;
    color: #e8600a;
    border: 1.5px solid rgba(232, 96, 10, 0.25);
}

.sihm-dash-btn-secondary:hover {
    border-color: #e8600a;
    background: #fff8f5;
    color: #e8600a;
}

.sihm-dash-btn-logout {
    background: transparent;
    color: #a0aec0;
    margin-left: auto;
    font-size: 12px;
}

.sihm-dash-btn-logout:hover { color: #dc2626; }

/* Mobile */
@media ( max-width: 580px ) {
    .sihm-dash-info-grid { grid-template-columns: 1fr; }
    .sihm-dash-info-cell:nth-child(even) { padding-left: 0; border-left: none; }
    .sihm-dash-info-cell:nth-last-child(-n+2) { border-bottom: 1px dashed rgba(0, 0, 0, 0.06); }
    .sihm-dash-info-cell:last-child { border-bottom: none; }
    .sihm-dash-header { padding: 22px 20px; }
    .sihm-dash-title { font-size: 18px; }
    .sihm-dash-info-grid,
    .sihm-dash-ms-area,
    .sihm-dash-actions { padding-left: 20px; padding-right: 20px; }
    .sihm-dash-btn-logout { margin-left: 0; width: 100%; justify-content: center; }
    .sihm-dash-logo-row { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* Print */
@media print {
    .sihm-no-print { display: none !important; }
    .sihm-dash-wrap { padding: 0; }
    .sihm-dash-header {
        background: #0b1d3a !important;
        border-radius: 0 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    .sihm-dash-info-grid,
    .sihm-dash-ms-area { border: none; }
    .sihm-dash-actions { display: none !important; }
}
