/* Desktop */
.custom-header {
    min-height: 50vh;
    background-size: cover;
    background-position: center;
}

/* Mobile */
@media (max-width: 768px) {

    .custom-header {
        min-height: 350px;
        border-radius: 14px;
    }

    .custom-header .container {
        padding-top: 1rem !important;
        padding-bottom: 5rem !important;
    }

    .custom-header h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }

    .custom-header p {
        font-size: 13px;
        line-height: 1.5;
        padding: 0 10px;
    }
}

.dana-card{
    border:1px solid #e9ecef;
    border-radius:12px;
    padding:16px;
    background:#fff;
    transition:all .2s ease;
}

.dana-card:hover{
    transform:translateY(-3px);
    box-shadow:0 .5rem 1rem rgba(0,0,0,.08);
}

.progress{
    border-radius:999px;
    background:#f1f3f5;
}

.progress-bar{
    border-radius:999px;
}

#activityModal .modal-dialog{
    max-width:700px;
}

#activityModal .modal-content{
    border:none;
    overflow:hidden;
    border-radius:24px;
}

.modal-close-btn{
    background:rgba(255,255,255,.15);
    border:none;
    width:30px;
    height:30px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:white;
    cursor:pointer;
    transition:.2s;
}

.modal-close-btn:hover{
    background:rgba(255,255,255,.25);
    transform:rotate(90deg);
}

.modal-close-btn i{
    font-size:20px;
    color:white;
}

.modal-header {
    border:none;
    padding:15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.activity-banner{
    width:100%;
    height:280px;
    object-fit:cover;
}

.event-meta{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px;
    margin-bottom:20px;
}

.meta-item{
    display:flex;
    align-items:flex-start;
    gap:15px;
    background:#f8f9fa;
    border-radius:15px;
    padding:10px;
    border:1px solid #eee;
}

.meta-icon{
    font-size:24px;
}

.meta-label{
    font-size:12px;
    font-weight:600;
    color:#999;
    text-transform:uppercase;
    letter-spacing:.5px;
}

.meta-value{
    font-size:15px;
    font-weight:600;
    color:#333;
}

.full-width{
    grid-column:1 / -1;
}

.event-description{
    background:#fff5f8;
    border-left:5px solid #e91e63;
    border-radius:12px;
    padding:20px;
    margin-bottom:20px;
}

.event-description h6{
    color:#e91e63;
    font-weight:700;
    margin-bottom:15px;
}

.qr-section{
    text-align:center;
}

.qr-title{
    font-size:20px;
    font-weight:700;
    color:#e91e63;
    margin-bottom:10px;
}

.qr-section img{
    display:block;
    margin:0 auto;
    width:200px !important;
}

#modalQr{
    width:300px;
    border-radius:15px;
    box-shadow:0 10px 30px rgba(0,0,0,.15);
    background:white;
    padding:15px;
}

/* =========================================================
COMMUNITY SUMMARY
========================================================= */
.community-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.community-section-title h5 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #172033;
}

.community-card {
    position: relative;
    height: 100%;
    background: #ffffff;
    border: 1px solid #edf0f4;
    border-radius: 14px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.community-card::after {
    content: "";
    position: absolute;
    width: 70px;
    height: 70px;
    right: -25px;
    bottom: -25px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.025);
}

.community-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.09);
    border-color: #e5e7eb;
}

.community-icon {
    width: 54px;
    height: 54px;
    min-width: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.community-icon i {
    font-size: 27px;
}

.community-card small {
    font-size: 12px;
}

.community-card h3 {
    font-size: 24px;
    line-height: 1.1;
    color: #111827;
    margin-top: 3px !important;
    margin-bottom: 2px !important;
}

.alumni-icon {
    background: #ffe5ef;
    color: #e91e63;
}

.pibg-icon {
    background: #ddf7e8;
    color: #08a65b;
}

.total-icon {
    background: #e3efff;
    color: #2878f0;
}

.year-icon {
    background: #fff0d9;
    color: #f59e0b;
}

/* =========================================================
IMPORTANT INFORMATION
========================================================= */
.important-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 2px;
    border-bottom: 1px solid #f0f2f5;
    transition: background .2s ease;
}

.important-item:first-child {
    padding-top: 0 !important;
}

.important-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.important-icon i {
    font-size: 21px;
}

.important-info {
    flex: 1;
}

.important-info .fw-semibold {
    font-size: 13px;
    color: #374151;
    margin-bottom: 3px;
}

.important-info small {
    font-size: 11px;
    color: #6b7280 !important;
}

.important-countdown {
    text-align: right;
    min-width: 65px;
    line-height: 1;
}

.important-countdown strong {
    display: block;
    font-size: 20px;
    font-weight: 700;
}

.important-countdown small {
    display: block;
    margin-top: 3px;
    font-size: 11px;
}

/* =========================================================
SECTION HEADER
========================================================= */
.dashboard-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dashboard-section-title i {
    font-size: 21px;
    color: #e91e63;
}

.dashboard-section-title span {
    font-size: 17px;
    font-weight: 700;
    color: #172033;
}


/* =========================================================
BUTTON
========================================================= */
.btn-dashboard {
    border: 1px solid #e91e63 !important;
    color: #e91e63 !important;
    background: #ffffff !important;
    border-radius: 8px !important;
    padding: 7px 14px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    transition: all .2s ease;
}

.btn-dashboard:hover {
    background: #e91e63 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* =========================================================
TAKWIM
========================================================= */
.takwim-item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 11px 2px;
    border-bottom: 1px solid #f0f2f5;
    transition: background .2s ease;
}

.takwim-item:hover {
    background: #fafbfc;
}

.takwim-date {
    min-width: 50px;
    padding: 8px 10px;
    border-radius: 10px;
    text-align: center;
}

.takwim-date strong,
.takwim-date span,
.takwim-date small {
    display: block;
}

.takwim-date strong {
    font-size: 20px;
    line-height: 1;
}

.takwim-date span {
    font-size: 10px;
    line-height: 1.3;
    font-weight: 600;
    color: black;
}

.takwim-date small {
    font-size: 10px;
    line-height: 1.3;
    font-weight: 600;
    color: black;
}

.takwim-date .takwim-day {
    margin-top: 2px;
    font-weight: 400;
    color: black;
}

.takwim-info {
    flex: 1;
}

.kategori-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 9px;
    font-weight: 600;
}

.takwim-days {
    min-width: 55px;
    text-align: right;
    line-height: 1;
}

.takwim-days strong {
    display: block;
    font-size: 20px;
    font-weight: 700;
}

.takwim-days small {
    display: block;
    margin-top: 4px;
    font-size: 11px;
}

.takwim-footer {
    width: 100%;
    min-height: 36px;
    padding: 8px 12px;
    border: 1px solid #f2b6ca;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #e91e63;
    background: #fff8fb;
    text-decoration: none;
    font-size: 10px;
    font-weight: 600;
    transition: all .2s ease;
}

.takwim-footer span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.takwim-footer i {
    font-size: 17px;
}

.takwim-footer:hover {
    background: #e91e63;
    color: #ffffff;
}

.landing-content {
    position: relative;
    z-index: 2;
    margin-top: -15px;
    padding-bottom: 30px;
}

.landing-card {
    background: #ffffff;
    border: 1px solid #edf0f4 !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 18px rgba(30, 41, 59, 0.06) !important;
    overflow: hidden;
}

.landing-card .card-header {
    background: #ffffff !important;
    border-bottom: 1px solid #f0f2f5 !important;
    padding: 18px 20px !important;
}

.landing-card .card-body {
    padding: 16px 20px !important;
}

.landing-content > .row {
    margin-bottom: 0;
}

.dashboard-row {
    margin-top: 18px;
}

.dashboard-card-row {
    margin-top: 18px;
}

#activityModal .modal-dialog {
    max-width: 700px;
}

#activityModal .modal-content {
    border: none;
    overflow: hidden;
    border-radius: 24px;
}

.takwim-modal-body {
    max-height: 80vh;
    overflow-y: auto;
    padding: 1rem 2rem;
}

.takwim-modal-body > .important-item:first-child,
.takwim-modal-body > .takwim-item:first-child {
    margin-top: 0 !important;
}

/* Optional: nicer scrollbar */
.takwim-modal-body::-webkit-scrollbar {
    width: 6px;
}

.takwim-modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.takwim-modal-body::-webkit-scrollbar-thumb {
    background: #c5c5c5;
    border-radius: 10px;
}

.takwim-modal-body::-webkit-scrollbar-thumb:hover {
    background: #999;
}