/* ============================================
   Nama Programmer: Asep Setiawan, S.Pd., M.M.
   SMKN 1 Sukatani - Purwakarta
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f4f7fc;
    color: #1e293b;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- HEADER ---------- */
header {
    background: linear-gradient(135deg, #0b2a4a, #1a4b7a);
    color: white;
    padding: 16px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo a i {
    font-size: 1.8rem;
    color: #facc15;
}

.logo small {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.85;
    margin-top: -4px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.3s;
}

nav ul li a:hover {
    background: rgba(255,255,255,0.15);
}

nav ul li a.btn-admin {
    background: #facc15;
    color: #0b2a4a;
    font-weight: 600;
}

nav ul li a.btn-admin:hover {
    background: #fde047;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
}

/* ---------- RAINBOW TEXT ANIMATION ---------- */
.rainbow-text {
    background: linear-gradient(
        to right,
        #ff0000,
        #ff7700,
        #ffff00,
        #00ff00,
        #0000ff,
        #8b00ff,
        #ff0000
    );
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: rainbowMove 4s linear infinite;
    display: inline-block;
}

.rainbow-text i {
    -webkit-text-fill-color: initial;
    color: #1a4b7a;
}

@keyframes rainbowMove {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 300% 50%;
    }
}

/* ============================================
   POPUP - DESAIN BARU MENGADOPI GAMBAR
   ============================================ */

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: popupFadeIn 0.5s ease;
    padding: 20px;
}

.popup-overlay.hidden {
    display: none;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.popup-content {
    background: #ffffff;
    border-radius: 12px;
    max-width: 750px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    animation: popupSlideUp 0.4s ease;
}

@keyframes popupSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header Popup */
.popup-header {
    background: linear-gradient(135deg, #1a3c5e, #0b2a4a);
    color: white;
    padding: 20px 25px 16px;
    border-radius: 12px 12px 0 0;
}

.popup-header-top {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.popup-logo-wrapper {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.popup-logo-wrapper i {
    font-size: 1.4rem;
    color: #facc15;
}

.popup-header-top h2 {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    color: #ffffff;
}

.popup-header-bottom p {
    font-size: 0.82rem;
    line-height: 1.6;
    color: #cbd5e1;
    margin: 0;
    text-align: justify;
}

/* Body Popup */
.popup-body {
    padding: 18px 25px 12px;
}

/* Sambutan Wrapper - Foto + Teks */
.popup-sambutan-wrapper {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
}

.popup-foto-kepsek {
    flex-shrink: 0;
    width: 120px;
    text-align: center;
}

.popup-foto-kepsek img {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 12px;
    border: 3px solid #facc15;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    display: block;
}

.popup-foto-kepsek-info {
    margin-top: 8px;
}

.popup-foto-kepsek-info h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0b2a4a;
    margin: 0 0 2px;
    line-height: 1.2;
}

.popup-foto-kepsek-info p {
    font-size: 0.65rem;
    color: #64748b;
    margin: 0;
}

.popup-teks-sambutan {
    flex: 1;
    min-width: 0;
}

.popup-teks-sambutan p {
    font-size: 0.8rem;
    color: #334155;
    line-height: 1.7;
    margin: 0 0 8px 0;
    text-align: justify;
}

.popup-teks-sambutan p:last-child {
    margin-bottom: 0;
}

/* Statistik */
.popup-statistik {
    background: #f8fafc;
    border-radius: 8px;
    padding: 12px 16px;
    border-left: 4px solid #f59e0b;
    margin-top: 4px;
}

.popup-statistik h3 {
    font-size: 0.8rem;
    font-weight: 600;
    color: #0b2a4a;
    margin-bottom: 10px;
}

.popup-statistik h3 i {
    color: #f59e0b;
    margin-right: 6px;
}

.statistik-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.statistik-item {
    text-align: center;
}

.statistik-angka {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    color: #0b2a4a;
    line-height: 1.2;
}

.statistik-label {
    display: block;
    font-size: 0.6rem;
    color: #64748b;
    font-weight: 500;
}

.statistik-sumber {
    font-size: 0.6rem;
    color: #94a3b8;
    margin-top: 6px;
    text-align: right;
    font-style: italic;
}

/* Footer Popup */
.popup-footer {
    padding: 12px 25px 20px;
    text-align: center;
    border-top: 1px solid #e9edf2;
}

.popup-btn {
    background: linear-gradient(135deg, #facc15, #f59e0b);
    color: #0b2a4a;
    border: none;
    padding: 10px 32px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(250, 204, 21, 0.35);
}

.popup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(250, 204, 21, 0.45);
}

.popup-btn:active {
    transform: translateY(0);
}

.popup-btn i {
    font-size: 0.9rem;
}

/* ---------- HERO / WELCOME ---------- */
.hero {
    background: linear-gradient(135deg, #e8f0fe, #d4e2f7);
    padding: 50px 0 40px;
    text-align: center;
    border-bottom: 1px solid #cbd5e1;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
}

.hero h1 i {
    -webkit-text-fill-color: initial;
    color: #1a4b7a;
}

.hero p {
    font-size: 1.1rem;
    color: #334155;
    margin-top: 8px;
}

.hero .sub-info {
    margin-top: 16px;
    background: white;
    display: inline-block;
    padding: 10px 28px;
    border-radius: 40px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    font-weight: 500;
    color: #0b2a4a;
}

.hero .sub-info i {
    margin-right: 8px;
    color: #facc15;
}

/* ---------- VISI & MISI ---------- */
.visi-misi-box {
    background: white;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
    margin-top: 30px;
}

.visi-box {
    background: linear-gradient(135deg, #1a3c5e, #2c5f8a);
    color: white;
    padding: 25px 30px;
    border-radius: 12px;
    margin-bottom: 20px;
    text-align: center;
    border: 4px solid #f59e0b;
}

.visi-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #f59e0b;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.visi-box h2 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
}

.misi-box {
    padding: 10px 0;
}

.misi-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1a3c5e;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.misi-box ul {
    list-style: none;
    padding: 0;
}

.misi-box ul li {
    padding: 8px 0 8px 30px;
    position: relative;
    color: #334155;
    line-height: 1.6;
}

.misi-box ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #f59e0b;
    font-weight: 700;
    font-size: 1.1rem;
}

/* ---------- SLIDER ---------- */
.slider-wrapper {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    background: #f8fafc;
    margin-bottom: 16px;
}

.slider-container {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.slide {
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    padding: 10px;
}

.slide img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: contain;
    border-radius: 12px;
    display: block;
}

/* Tombol Navigasi */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(26, 60, 94, 0.8);
    color: white;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.slider-btn:hover {
    background: rgba(26, 60, 94, 1);
    transform: translateY(-50%) scale(1.08);
}

.slider-btn.prev {
    left: 15px;
}

.slider-btn.next {
    right: 15px;
}

/* Dots */
.dots-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 16px 0 12px;
    flex-wrap: wrap;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #cbd5e1;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.dot.active {
    background: #e67e22;
    transform: scale(1.25);
    box-shadow: 0 0 12px rgba(230, 126, 34, 0.4);
}

.dot:hover {
    background: #94a3b8;
}

/* Slide info */
.slide-info {
    text-align: center;
    margin-bottom: 10px;
    font-size: 14px;
    color: #64748b;
}

.slide-info span {
    background: #f1f5f9;
    padding: 4px 16px;
    border-radius: 20px;
    font-weight: 500;
    color: #1e293b;
}

/* Auto indicator */
.auto-indicator {
    text-align: center;
    font-size: 13px;
    color: #94a3b8;
    cursor: pointer;
    user-select: none;
    margin-bottom: 30px;
}

.auto-indicator:hover {
    color: #64748b;
}

.auto-indicator .status {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
    animation: pulse 1.5s ease-in-out infinite;
}

.auto-indicator .status.running {
    background: #22c55e;
}

.auto-indicator .status.paused {
    background: #ef4444;
    animation: none;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ---------- CARDS / GRID INFO ---------- */
.section-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0b2a4a;
    margin: 40px 0 20px;
    border-left: 5px solid #facc15;
    padding-left: 16px;
}

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

.card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #e9edf2;
    text-align: center;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.card h3 {
    font-size: 1.1rem;
    color: #1a4b7a;
    margin-bottom: 8px;
}

.card h3 i {
    margin-right: 8px;
    color: #facc15;
}

.card .angka {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0b2a4a;
}

.card .label {
    font-size: 0.9rem;
    color: #64748b;
}

/* ---------- BERITA / INFORMASI ---------- */
.berita-item {
    background: white;
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 12px;
    border-left: 4px solid #1a4b7a;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.berita-item .tanggal {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
}

.berita-item .judul {
    font-weight: 600;
    color: #0b2a4a;
    margin: 4px 0;
}

.berita-item .sekolah {
    font-size: 0.85rem;
    color: #1a4b7a;
}

/* ---------- PROGRAM KEAHLIAN ---------- */
.keahlian-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.keahlian-item {
    background: white;
    padding: 24px 16px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e9edf2;
}

.keahlian-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.keahlian-item i {
    font-size: 2.5rem;
    color: #1a4b7a;
    margin-bottom: 10px;
    display: block;
}

.keahlian-item h4 {
    font-size: 0.95rem;
    color: #0b2a4a;
    font-weight: 600;
}

/* ---------- FOOTER ---------- */
footer {
    background: #0b2a4a;
    color: #cbd5e1;
    padding: 30px 0;
    margin-top: 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-left h4 {
    color: white;
    font-size: 1.2rem;
}

.footer-left h4 i {
    color: #facc15;
}

.footer-left small {
    opacity: 0.7;
}

.footer-center p {
    margin: 4px 0;
    font-size: 0.9rem;
}

.footer-center i {
    width: 20px;
    color: #facc15;
}

.footer-right {
    text-align: right;
}

.footer-right small {
    opacity: 0.7;
}

/* ============================================
   RESPONSIVE POPUP
   ============================================ */

@media (max-width: 768px) {
    .popup-content {
        max-width: 95%;
        margin: 10px;
    }

    .popup-header {
        padding: 14px 16px 12px;
    }

    .popup-header-top h2 {
        font-size: 0.85rem;
    }

    .popup-header-bottom p {
        font-size: 0.72rem;
    }

    .popup-body {
        padding: 14px 16px 10px;
    }

    .popup-sambutan-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .popup-foto-kepsek {
        width: 100px;
    }

    .popup-foto-kepsek-info h4 {
        font-size: 0.8rem;
    }

    .popup-foto-kepsek-info p {
        font-size: 0.6rem;
    }

    .popup-teks-sambutan p {
        font-size: 0.72rem;
        line-height: 1.6;
    }

    .statistik-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .statistik-angka {
        font-size: 1rem;
    }

    .statistik-label {
        font-size: 0.55rem;
    }

    .popup-statistik h3 {
        font-size: 0.72rem;
    }

    .popup-footer {
        padding: 10px 16px 16px;
    }

    .popup-btn {
        padding: 8px 24px;
        font-size: 0.85rem;
    }

    .popup-logo-wrapper {
        width: 36px;
        height: 36px;
    }

    .popup-logo-wrapper i {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .popup-content {
        max-width: 98%;
        margin: 5px;
        border-radius: 8px;
    }

    .popup-header {
        padding: 10px 12px 10px;
        border-radius: 8px 8px 0 0;
    }

    .popup-header-top {
        gap: 10px;
    }

    .popup-header-top h2 {
        font-size: 0.7rem;
    }

    .popup-header-bottom p {
        font-size: 0.62rem;
    }

    .popup-body {
        padding: 10px 12px 8px;
    }

    .popup-foto-kepsek {
        width: 80px;
    }

    .popup-foto-kepsek-info h4 {
        font-size: 0.7rem;
    }

    .popup-foto-kepsek-info p {
        font-size: 0.55rem;
    }

    .popup-teks-sambutan p {
        font-size: 0.62rem;
        line-height: 1.5;
        margin-bottom: 4px;
    }

    .statistik-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
    }

    .statistik-angka {
        font-size: 0.85rem;
    }

    .statistik-label {
        font-size: 0.5rem;
    }

    .statistik-sumber {
        font-size: 0.5rem;
        margin-top: 4px;
    }

    .popup-statistik {
        padding: 8px 10px;
    }

    .popup-statistik h3 {
        font-size: 0.65rem;
        margin-bottom: 6px;
    }

    .popup-footer {
        padding: 8px 12px 12px;
    }

    .popup-btn {
        padding: 6px 18px;
        font-size: 0.75rem;
        gap: 6px;
    }

    .popup-btn i {
        font-size: 0.7rem;
    }

    .popup-logo-wrapper {
        width: 28px;
        height: 28px;
    }

    .popup-logo-wrapper i {
        font-size: 0.9rem;
    }
}

/* ---------- RESPONSIVE UMUM ---------- */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav ul {
        display: none;
        flex-direction: column;
        background: #0b2a4a;
        width: 100%;
        padding: 16px 0;
        gap: 8px;
        position: absolute;
        top: 100%;
        left: 0;
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }

    nav ul.open {
        display: flex;
    }

    nav ul li a {
        padding: 10px 16px;
        width: 100%;
        text-align: center;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-right {
        text-align: center;
    }

    .visi-box h2 {
        font-size: 1.2rem;
    }
    
    .slider-btn {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }
    
    .slider-btn.prev {
        left: 8px;
    }
    .slider-btn.next {
        right: 8px;
    }
    
    .slide img {
        max-height: 350px;
    }
    
    .dot {
        width: 12px;
        height: 12px;
    }
    
    .keahlian-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .logo a {
        font-size: 1.2rem;
    }
    .hero h1 {
        font-size: 1.5rem;
    }
    .container {
        padding: 0 14px;
    }
    
    .visi-box {
        padding: 16px 20px;
    }
    
    .visi-box h2 {
        font-size: 1rem;
    }
    
    .slide img {
        max-height: 250px;
    }
    
    .slider-btn {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .dots-container {
        gap: 8px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    .keahlian-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .keahlian-item {
        padding: 16px 10px;
    }
    
    .keahlian-item i {
        font-size: 2rem;
    }
}

/* ============================================
   POPUP WIDE STYLE - Tambahan
   ============================================ */

/* Popup lebih lebar */
.popup-content.popup-wide {
    max-width: 900px;
    width: 95%;
}

.popup-body.popup-body-wide {
    padding: 25px 30px 20px;
}

.popup-sambutan-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* Kolom Kiri - Sambutan */
.popup-sambutan-left {
    flex: 1;
    min-width: 0;
}

.popup-sambutan-text {
    color: #334155;
    line-height: 1.8;
    font-size: 0.9rem;
}

.popup-sambutan-text p {
    margin: 6px 0;
}

.popup-sambutan-text .fa-quote-left,
.popup-sambutan-text .fa-quote-right {
    color: #f59e0b;
    margin-right: 6px;
    font-size: 0.9rem;
}

.popup-sambutan-text .fa-quote-right {
    margin-left: 6px;
    margin-right: 0;
}

.sambutan-opening {
    font-weight: 500;
    color: #0b2a4a;
}

.sambutan-closing {
    font-weight: 500;
    color: #0b2a4a;
}

.popup-tanda-tangan {
    text-align: right;
    font-weight: 600;
    color: #0b2a4a;
    margin-top: 10px !important;
    font-style: italic;
}

/* Kolom Kanan - Foto */
.popup-sambutan-right {
    flex-shrink: 0;
    width: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 5px;
}

.popup-avatar-wide {
    width: 180px;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    border: 4px solid #f59e0b;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: #f8fafc;
    flex-shrink: 0;
}

.popup-avatar-wide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popup-profile-info-wide {
    text-align: center;
    margin-top: 12px;
}

.popup-profile-info-wide h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #0b2a4a;
    margin: 0 0 2px;
}

.popup-profile-info-wide .popup-title {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .popup-content.popup-wide {
        max-width: 95%;
        margin: 10px;
    }

    .popup-sambutan-wrapper {
        flex-direction: column-reverse;
        align-items: center;
        gap: 20px;
    }

    .popup-sambutan-right {
        width: 100%;
        flex-direction: row;
        gap: 20px;
        justify-content: center;
        align-items: center;
        padding-top: 0;
        flex-wrap: wrap;
    }

    .popup-avatar-wide {
        width: 120px;
        height: 140px;
    }

    .popup-profile-info-wide {
        text-align: left;
        margin-top: 0;
    }

    .popup-profile-info-wide h3 {
        font-size: 0.9rem;
    }

    .popup-profile-info-wide .popup-title {
        font-size: 0.75rem;
    }

    .popup-body.popup-body-wide {
        padding: 18px 20px 15px;
    }

    .popup-sambutan-text {
        font-size: 0.82rem;
    }
}

@media (max-width: 480px) {
    .popup-content.popup-wide {
        max-width: 98%;
        margin: 5px;
    }

    .popup-body.popup-body-wide {
        padding: 14px 16px 12px;
    }

    .popup-sambutan-right {
        flex-direction: column;
        gap: 10px;
    }

    .popup-avatar-wide {
        width: 100px;
        height: 120px;
    }

    .popup-profile-info-wide {
        text-align: center;
    }

    .popup-profile-info-wide h3 {
        font-size: 0.8rem;
    }

    .popup-profile-info-wide .popup-title {
        font-size: 0.7rem;
    }

    .popup-sambutan-text {
        font-size: 0.75rem;
        line-height: 1.6;
    }

    .popup-sambutan-text p {
        margin: 4px 0;
    }

    .popup-tanda-tangan {
        margin-top: 6px !important;
    }
}