/* =====================
   LOGIN PAGE
   ===================== */
.login-wrap {
  min-height: calc(100vh - 70px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: var(--papermint);
}
.login-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 30px;
  max-width: 360px;
  width: 100%;
  text-align: center;
  box-shadow: 0 8px 30px rgba(61,186,135,0.15);
}
.login-logo {
  font-family: 'Nunito', sans-serif;
  font-size: 32px;
  font-weight: 900;
  color: var(--mint-main);
  letter-spacing: 2px;
  margin-bottom: 6px;
}
.login-logo img { width: 60px; height: auto; display: block; margin: 0 auto 10px; }
.login-subtitle { font-size: 13px; color: var(--text-light); margin-bottom: 30px; }
.login-divider {
  font-size: 11px; color: #ccc; margin: 20px 0;
  display: flex; align-items: center; gap: 10px;
}
.login-divider::before, .login-divider::after { content: ''; flex: 1; height: 1px; background: #eee; }
.btn-google {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%; padding: 12px 20px; background: #fff;
  border: 2px solid #e0e0e0; border-radius: 12px;
  font-size: 14px; font-weight: 600; color: #333;
  cursor: pointer; font-family: 'Poppins', sans-serif; transition: all 0.2s;
}
.btn-google:hover { border-color: var(--mint-main); box-shadow: 0 4px 12px rgba(61,186,135,0.2); transform: translateY(-1px); }
.btn-google img { width: 22px; height: 22px; }
.login-note { font-size: 10px; color: #bbb; margin-top: 20px; line-height: 1.6; }
.back-link { display: block; margin-top: 20px; font-size: 12px; color: var(--mint-main); text-decoration: none; }
.back-link:hover { text-decoration: underline; }



:root {
  --fc-green:       #3A6B5E;
  --fc-green-dark:  #2D4F43;
  --fc-green-mid:   #6B9B8A;
  --fc-green-light: #A7D7C5;
  --fc-green-pale:  #C1E1D2;
  --fc-bg:          #E3F2E9;
  --premium-green:  #2E7D32;
}

/* ===== FANCLUB BODY (khusus fanclub.html) ===== */
.fc-body {
    background-color: #E3F2E9;
    color: #2D4F43;
    line-height: 1.6;
}

/* ===== FANCLUB NAVBAR ===== */
.navbar-fc {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 60px;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(107, 155, 138, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.logo-fc {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #6B9B8A, #3A6B5E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

.logo-fc i {
    background: none;
    -webkit-text-fill-color: #6B9B8A;
    margin-right: 5px;
}

.nav-search {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 40px;
    padding: 8px 20px;
    width: 300px;
    border: 1px solid #C1E1D2;
}

.nav-search input {
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    font-size: 14px;
}

.nav-search i { color: #6B9B8A; margin-right: 10px; }

.nav-icons { display: flex; gap: 25px; align-items: center; }
.nav-icons i { font-size: 20px; color: #6B9B8A; cursor: pointer; transition: all 0.3s; }
.nav-icons i:hover { color: #3A6B5E; transform: scale(1.1); }

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 5px 15px 5px 5px;
    border-radius: 40px;
    border: 1px solid #C1E1D2;
}

.avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: linear-gradient(135deg, #A7D7C5, #6B9B8A);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

/* ===== HERO FANCLUB ===== */
.hero {
    background: linear-gradient(135deg, #C1E1D2, #A7D7C5);
    border-radius: 30px;
    padding: 40px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(107, 155, 138, 0.2);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.hero-content { position: relative; z-index: 2; }
.hero h1 { font-size: 42px; font-weight: 700; color: #2D4F43; margin-bottom: 10px; }
.hero p { font-size: 18px; color: #3A6B5E; margin-bottom: 25px; font-weight: 400; }

.hero-buttons { display: flex; gap: 15px; }

.btn-primary {
    background: #3A6B5E;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(58, 107, 94, 0.3);
    display: inline-block;
    text-decoration: none;
}
.btn-primary:hover { background: #2D4F43; transform: translateY(-3px); }

.btn-secondary {
    background: white;
    color: #3A6B5E;
    border: 2px solid #3A6B5E;
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
    text-decoration: none;
}
.btn-secondary:hover { background: #E3F2E9; transform: translateY(-3px); }

.stats-card { display: flex; gap: 30px; margin-top: 40px; flex-wrap: wrap; }

.stat-item {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    padding: 15px 25px;
    border-radius: 20px;
    text-align: center;
    min-width: 120px;
}
.stat-number { font-size: 28px; font-weight: 700; color: #3A6B5E; }
.stat-label { font-size: 14px; color: #2D4F43; }

/* ===== SECTION TITLE FANCLUB ===== */
.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 40px 0 20px;
}
.section-title h2 {
    font-size: 24px;
    font-weight: 600;
    color: #2D4F43;
    position: relative;
}
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: #A7D7C5;
    border-radius: 10px;
}
.view-all { color: #6B9B8A; font-weight: 500; cursor: pointer; font-size: 14px; text-decoration: none; }
.view-all i { font-size: 12px; margin-left: 5px; }

/* ===== MEMBER ONLINE FANCLUB ===== */
.member-grid-fc { display: flex; gap: 15px; flex-wrap: wrap; }

.member-card-fc {
    background: white;
    border-radius: 20px;
    padding: 20px 15px;
    text-align: center;
    min-width: 120px;
    box-shadow: 0 5px 15px rgba(107, 155, 138, 0.1);
    border: 1px solid #C1E1D2;
    transition: all 0.3s;
}
.member-card-fc:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(107, 155, 138, 0.2); }

.member-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #A7D7C5, #6B9B8A);
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    font-weight: 600;
}

.member-status { font-size: 12px; padding: 4px 10px; border-radius: 30px; display: inline-block; }
.status-online { background: #C1E1D2; color: #2D4F43; }
.status-idle   { background: #F0E5CF; color: #8B7A5A; }
.status-offline{ background: #E0E0E0; color: #666; }

/* ===== CONTENT GRID ===== */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.content-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(107, 155, 138, 0.1);
    border: 1px solid #C1E1D2;
    transition: all 0.3s;
}
.content-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(107, 155, 138, 0.15); }

.card-media {
    height: 180px;
    background: linear-gradient(135deg, #C1E1D2, #A7D7C5);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3A6B5E;
    font-size: 48px;
}

.card-badge {
    position: absolute;
    top: 15px; right: 15px;
    background: #3A6B5E;
    color: white;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
}

.card-content { padding: 20px; }
.card-title { font-weight: 600; font-size: 18px; color: #2D4F43; margin-bottom: 5px; }
.card-meta { display: flex; justify-content: space-between; color: #6B9B8A; font-size: 13px; margin-bottom: 15px; }
.card-stats { display: flex; gap: 20px; color: #6B9B8A; font-size: 14px; }
.card-stats i { margin-right: 5px; }

/* ===== ACTIVITY FEED ===== */
.activity-feed {
    background: white;
    border-radius: 25px;
    padding: 25px;
    margin: 40px 0;
    border: 1px solid #C1E1D2;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #E3F2E9;
}
.activity-item:last-child { border-bottom: none; }

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #C1E1D2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3A6B5E;
}

.activity-detail { flex: 1; }
.activity-text { color: #2D4F43; font-weight: 500; margin-bottom: 3px; }
.activity-time { font-size: 12px; color: #6B9B8A; }

/* ===== EVENT CARD ===== */
.event-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 5px solid #6B9B8A;
    box-shadow: 0 5px 15px rgba(107, 155, 138, 0.1);
}
.event-title { font-weight: 600; color: #2D4F43; margin-bottom: 5px; }
.event-detail { display: flex; gap: 20px; color: #6B9B8A; font-size: 14px; margin: 10px 0; }
.event-reminder {
    background: #C1E1D2;
    border: none;
    padding: 8px 20px;
    border-radius: 30px;
    color: #2D4F43;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}
.event-reminder:hover { background: #A7D7C5; }

/* ===== SURAT DIGITAL ===== */
.surat-container { display: grid; grid-template-columns: 2fr 1fr; gap: 25px; margin: 40px 0; }

.inbox-card { background: white; border-radius: 25px; padding: 25px; border: 1px solid #C1E1D2; }
.inbox-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }

.inbox-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    border-radius: 15px;
    background: #E3F2E9;
    margin-bottom: 10px;
    transition: all 0.3s;
}
.inbox-item:hover { background: #C1E1D2; }

.inbox-avatar {
    width: 50px; height: 50px; border-radius: 50%;
    background: #A7D7C5;
    display: flex; align-items: center; justify-content: center;
    color: white; font-weight: 600;
}

.inbox-content { flex: 1; }
.inbox-sender { font-weight: 600; color: #2D4F43; }
.inbox-preview { color: #6B9B8A; font-size: 14px; }
.inbox-time { font-size: 12px; color: #3A6B5E; }

.new-badge {
    background: #3A6B5E;
    color: white;
    padding: 2px 8px;
    border-radius: 30px;
    font-size: 10px;
    margin-left: 10px;
}

.kirim-pesan-card { background: white; border-radius: 25px; padding: 25px; border: 1px solid #C1E1D2; }

.select-member {
    width: 100%; padding: 12px;
    border: 2px solid #C1E1D2; border-radius: 15px;
    margin-bottom: 15px; outline: none; color: #2D4F43;
    font-family: inherit;
}

.textarea-pesan {
    width: 100%; height: 120px; padding: 15px;
    border: 2px solid #C1E1D2; border-radius: 15px;
    margin-bottom: 15px; outline: none; resize: none;
    font-family: inherit;
}

.attach-btn {
    background: #C1E1D2; border: none;
    padding: 10px 20px; border-radius: 30px;
    color: #2D4F43; cursor: pointer; margin-bottom: 15px;
    display: inline-block; font-family: inherit;
}

/* ===== FOOTER FANCLUB ===== */
.footer-fc {
    background: white;
    border-radius: 30px 30px 0 0;
    padding: 40px 30px 20px;
    margin-top: 60px;
    border: 1px solid #C1E1D2;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-col h4 { color: #2D4F43; margin-bottom: 15px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; color: #6B9B8A; cursor: pointer; }

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #C1E1D2;
    color: #6B9B8A;
    font-size: 14px;
}

/* ===== FANCLUB - ACCESS DENIED ===== */
.access-denied-wrap {
  min-height: calc(100vh - 70px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; background: var(--papermint);
}
.access-denied-card {
  background: #fff; border-radius: 20px; padding: 40px 30px;
  max-width: 360px; width: 100%; text-align: center;
  box-shadow: 0 8px 30px rgba(61,186,135,0.15);
}
.access-denied-icon { font-size: 52px; margin-bottom: 16px; display: block; }
.access-denied-title { font-family: 'Nunito', sans-serif; font-size: 22px; font-weight: 900; color: var(--mint-dark); margin-bottom: 10px; }
.access-denied-msg { font-size: 13px; color: var(--text-light); margin-bottom: 24px; line-height: 1.6; }
.btn-access-register {
  display: block; background: var(--mint-main); color: #fff;
  border-radius: 20px; padding: 12px 20px; font-size: 13px;
  font-weight: 700; text-decoration: none; margin-bottom: 10px; transition: background 0.2s;
}
.btn-access-register:hover { background: var(--mint-dark); }
.btn-access-login { display: block; font-size: 12px; color: var(--mint-main); text-decoration: none; margin-top: 4px; }
.btn-access-login:hover { text-decoration: underline; }

/* ===== FANCLUB PAGE CONTENT ===== */
.user-card { max-width: 700px; margin: 20px auto; padding: 0 16px; }
.user-info-box {
  background: #fff; border-radius: 16px; padding: 20px;
  display: flex; align-items: center; gap: 16px;
  box-shadow: 0 2px 10px rgba(61,186,135,0.1);
}
#user-photo { width: 56px; height: 56px; border-radius: 50%; border: 3px solid var(--mint-mid); object-fit: cover; }
#username { font-family: 'Nunito', sans-serif; font-size: 18px; font-weight: 900; color: var(--text-dark); }
/* verifiedBadge - lihat bagian PROFILE DISPLAY di bawah */
#user-status { font-size: 12px; margin-top: 3px; }
.btn-logout {
  margin-left: auto; background: none; border: 2px solid #eee;
  border-radius: 10px; padding: 6px 14px; font-size: 11px; font-weight: 700;
  color: #aaa; cursor: pointer; font-family: 'Poppins', sans-serif; transition: all 0.2s;
}
.btn-logout:hover { border-color: #ff6b6b; color: #ff6b6b; }

.fc-content { max-width: 700px; margin: 0 auto; padding: 0 16px 80px; }
.fc-section { background: #fff; border-radius: 14px; padding: 18px; margin-bottom: 14px; box-shadow: 0 2px 10px rgba(61,186,135,0.08); }
.fc-section-title { font-family: 'Nunito', sans-serif; font-size: 16px; font-weight: 900; color: var(--mint-main); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.fc-badge-new { background: #ff6b6b; color: #fff; font-size: 9px; font-weight: 800; padding: 2px 7px; border-radius: 10px; }
.fc-menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.fc-menu-item {
  background: var(--mint-light); border-radius: 12px; padding: 16px 8px;
  text-align: center; text-decoration: none; color: var(--text-dark);
  font-size: 11px; font-weight: 600; transition: transform 0.15s, box-shadow 0.15s;
}
.fc-menu-item:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(61,186,135,0.2); }
.fc-menu-icon { font-size: 24px; display: block; margin-bottom: 6px; }
.coming-soon { text-align: center; padding: 30px 20px; color: var(--text-light); font-size: 13px; }
.coming-soon-icon { font-size: 36px; margin-bottom: 10px; display: block; }

/* ===== FANCLUB REGISTER ===== */
.fanclub-register-body { background: linear-gradient(180deg,#E8FFF8 0%,#ffffff 100%); }
.fc-card {
  background: #fff; width: 100%; max-width: 480px;
  border-radius: 40px; padding: 35px 25px;
  border: 2px solid #A8E6CF;
  box-shadow: 0 10px 30px rgba(92,214,192,0.3); text-align: center;
}
.fc-header h2 {
  color: var(--premium-green); font-weight: 800; margin: 0; font-size: 2rem;
  border-bottom: 3px solid #A8E6CF; display: inline-block; padding-bottom: 5px;
}
.badge-main {
  background: var(--premium-green); color: white; padding: 6px 20px;
  border-radius: 20px; font-size: 0.75rem; display: inline-block;
  margin: 15px 0; font-weight: 800; text-transform: uppercase;
}
.form-group { text-align: left; margin-bottom: 15px; }
.form-group label { display: block; font-weight: bold; font-size: 0.85rem; color: var(--premium-green); margin-bottom: 6px; }
.form-group input {
  width: 100%; padding: 12px 15px; border: 1.5px solid #E0E0E0;
  border-radius: 12px; outline: none; background: #F9FFF9; font-family: inherit;
}
.form-group input:focus { border-color: var(--mint-accent); }

.oshi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin: 25px 0; }
.oshi-item {
  border: 1.5px solid #E8FFF8; border-radius: 20px; padding: 15px;
  background: #F9FFF9; cursor: pointer; transition: 0.3s; position: relative;
}
.oshi-item img {
  width: 70px; height: 70px; border-radius: 50%; object-fit: cover;
  margin-bottom: 8px; border: 3px solid white; box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
.oshi-item p { margin: 0; font-weight: 800; font-size: 0.95rem; color: #2E7D32; }
.gen-tag {
  font-size: 0.6rem; background: #C8E6C9; color: #1B5E20;
  padding: 3px 10px; border-radius: 10px; font-weight: bold;
  display: inline-block; margin-top: 5px;
}
.oshi-item input { position: absolute; opacity: 0; }
.oshi-item.selected { border-color: var(--premium-green); background: #E8F5E9; transform: translateY(-3px); box-shadow: 0 5px 15px rgba(92,214,192,0.3); }

.btn-submit {
  width: 100%; background: var(--premium-green); color: white; border: none;
  padding: 16px; border-radius: 35px; font-weight: 800; font-size: 1rem;
  cursor: pointer; margin-top: 10px; transition: 0.3s; font-family: inherit;
}
.btn-submit:hover { opacity: 0.9; }

.btn-login-link { display: block; margin-top: 16px; font-size: 0.85rem; color: #666; text-align: center; }
.btn-login-link a { color: var(--premium-green); font-weight: 700; text-decoration: none; }
.btn-login-link a:hover { text-decoration: underline; }

#otpSection {
  display: none; margin-top: 25px; padding: 20px;
  border: 2px dashed var(--premium-green); border-radius: 20px; background: #F1F8E9;
}
#generatedOTP { font-size: 2.2rem; letter-spacing: 8px; color: var(--premium-green); margin: 15px 0; font-weight: 800; }

.login-modal-bg {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.4); backdrop-filter: blur(4px);
  display: none; z-index: 10000; align-items: center; justify-content: center;
}
.login-modal-bg.active { display: flex; }
.login-modal {
  background: #fff; border-radius: 24px; padding: 35px 28px;
  max-width: 340px; width: 90%; text-align: center;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}
.login-modal h3 { color: var(--premium-green); font-size: 1.3rem; font-weight: 800; margin-bottom: 6px; }
.login-modal p { font-size: 0.82rem; color: #888; margin-bottom: 20px; }
.login-modal input {
  width: 100%; padding: 12px 15px; border: 1.5px solid #E0E0E0;
  border-radius: 12px; outline: none; background: #F9FFF9;
  font-family: inherit; font-size: 0.9rem; margin-bottom: 12px;
}
.login-modal input:focus { border-color: var(--mint-accent); }
.btn-cancel {
  display: block; margin-top: 12px; font-size: 0.82rem; color: #aaa;
  cursor: pointer; background: none; border: none;
  font-family: inherit; text-align: center; width: 100%;
}
.login-error { font-size: 0.8rem; color: #D32F2F; margin-top: -6px; margin-bottom: 10px; display: none; }

/* ===== LOGIN PAGE ===== */
.login-wrap {
  min-height: calc(100vh - 70px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 20px; background: var(--papermint);
}
.login-card {
  background: #fff; border-radius: 20px; padding: 40px 30px;
  max-width: 360px; width: 100%; text-align: center;
  box-shadow: 0 8px 30px rgba(61,186,135,0.15);
}
.login-logo {
  font-family: 'Nunito', sans-serif; font-size: 32px; font-weight: 900;
  color: var(--mint-main); letter-spacing: 2px; margin-bottom: 6px;
}
.login-logo img { width: 60px; height: auto; display: block; margin: 0 auto 10px; }
.login-subtitle { font-size: 13px; color: var(--text-light); margin-bottom: 30px; }
.login-divider {
  font-size: 11px; color: #ccc; margin: 20px 0;
  display: flex; align-items: center; gap: 10px;
}
.login-divider::before, .login-divider::after { content: ''; flex: 1; height: 1px; background: #eee; }
.btn-google {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%; padding: 12px 20px; background: #fff;
  border: 2px solid #e0e0e0; border-radius: 12px;
  font-size: 14px; font-weight: 600; color: #333;
  cursor: pointer; font-family: 'Poppins', sans-serif; transition: all 0.2s;
}
.btn-google:hover { border-color: var(--mint-main); box-shadow: 0 4px 12px rgba(61,186,135,0.2); transform: translateY(-1px); }
.btn-google img { width: 22px; height: 22px; }
.login-note { font-size: 10px; color: #bbb; margin-top: 20px; line-height: 1.6; }
.back-link { display: block; margin-top: 20px; font-size: 12px; color: var(--mint-main); text-decoration: none; }
.back-link:hover { text-decoration: underline; }

/* ===== SIDEBAR (dari sidebar.html) ===== */
.sidebar {
    position: fixed; top: 0; right: -280px; left: auto !important;
    width: 280px; height: 100%; background: #ffffff;
    border-left: 3px solid #AAF0D1; z-index: 2000;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 25px 20px; overflow-y: auto;
    box-shadow: -5px 0 15px rgba(0,0,0,0.05);
}
.sidebar.active { right: 0 !important; left: auto !important; }

#menuList { list-style: none; padding: 0; }
#menuList li { margin-bottom: 8px; }
#menuList li a {
  text-decoration: none; color: #333; font-weight: 700;
  display: flex; align-items: center; gap: 15px;
  padding: 12px 15px; border-radius: 10px; transition: 0.3s; font-size: 14px;
}
#menuList li a i { width: 20px; color: #4db6ac; }
#menuList li a:hover { background: #f0fff9; color: #4db6ac; }
.fc-link { color: #4db6ac !important; }

/* ===== SIDEBAR PROFILE ===== */
#profileContainer {
  background: #f0fff9; border: 2px dashed #AAF0D1;
  border-radius: 14px; padding: 16px; text-align: center;
  margin-bottom: 20px; display: none;
}
#profilePic { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 3px solid #AAF0D1; margin: 0 auto 8px; display: block; }
#profileName { font-weight: 800; font-size: 0.95rem; color: #2F4F4F; margin-bottom: 4px; }
#profileContainer button {
  background: #4db6ac; color: white; border: none; padding: 5px 14px;
  border-radius: 20px; cursor: pointer; font-size: 0.78rem; font-weight: 700;
  font-family: inherit; transition: 0.2s; margin-top: 8px;
}
#profileContainer button:hover { background: #2E7D32; }

/* ===== GOOGLE TRANSLATE ===== */
#google_translate_element { margin-right: 15px; }
.goog-te-gadget-simple { border: 1px solid var(--papermint) !important; border-radius: 5px !important; padding: 2px 5px !important; }

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed; bottom: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--mint-main); color: #fff; border: none;
  font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2); z-index: 100;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .navbar-fc { flex-direction: column; gap: 15px; }
  .nav-search { width: 100%; }
  .hero h1 { font-size: 32px; }
  .stats-card { flex-wrap: wrap; }
  .surat-container { grid-template-columns: 1fr; }
}

/* =====================
   PROFILE DISPLAY (sidebar)
   ===================== */
#profileContainer {
    display: none;
    margin-top: 20px;
    text-align: center;
    padding: 15px;
    background: #f0fff9;
    border-radius: 14px;
    border: 2px dashed #AAF0D1;
    margin-bottom: 20px;
}
#profileContainer img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto 8px auto;
    border: 2px solid #AAF0D1;
}
#profileContainer p {
    font-size: 0.85rem;
    color: #5CD6C0;
    font-weight: 600;
    margin: 4px 0;
}
#profileContainer button {
    padding: 5px 14px;
    border: none;
    border-radius: 20px;
    background: #5CD6C0;
    color: white;
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 700;
    font-family: inherit;
    margin-top: 8px;
    transition: 0.2s;
}
#profileContainer button:hover { background: #2E7D32; }
#verifiedBadge {
    font-size: 0.75rem;
    font-weight: 700;
    color: #2E7D32;
    margin: 4px 0;
    display: none;
}

/* =====================
   FIX FOOTER NGAMBANG
===================== */
/* layout dasar */
html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
}

/* ini cukup */
.content-main {
  flex: 1;
}

/* ini kunci biar footer nempel bawah */
footer {
  margin-top: auto;
}
