/* General Body Styles */
body {
    margin: 0;
    font-family: 'Poppins', 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    background-color: #f4f7fb;
    color: #222;
    font-size: 1.08em;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Top Bar Styles */
.top-bar {
    position: sticky;
    top: 0;
    z-index: 1002;
    background-color: #004d99;
    color: #fff;
    padding: 8px 0;
    font-size: 0.85em;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.top-bar .container {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 15px;
}

.top-bar-item {
    display: flex;
    align-items: center;
    white-space: nowrap;
    font-weight: normal;
}

.top-bar-item i {
    margin-right: 8px;
    font-size: 1em;
}

/* Main Navigation Styles */
.main-nav {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    padding: 0;
    border-bottom: 2px solid #e3eaf5;
}

.navbar-title-row {
    position: sticky;
    top: 38px;
    z-index: 1001;
    width: 100%;
    text-align: center;
    padding: 18px 0 0 0;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.navbar-title {
    font-size: 2.2em;
    font-weight: 700;
    color: #0056b3;
    letter-spacing: 1px;
    white-space: nowrap;
    text-shadow: 0 2px 8px rgba(0,0,0,0.04);
    margin-bottom: 0;
}

.navbar-title-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 0;
}

.logo-navbar-title {
    height: 60px;
    width: auto;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,123,255,0.07);
    padding: 4px;
}

.nav-content {
    position: sticky;
    top: 98px;
    z-index: 1000;
    background: #fff;
    border-top: 1px solid #e3eaf5;
    margin-top: 0;
    padding-bottom: 2px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.logo {
    flex-shrink: 0;
    margin-right: 20px;
    margin-left: 20px; /* Geser logo ke kanan */
    display: flex;
    align-items: center; /* Vertikal rata tengah */
    height: 60px; /* Pastikan sama dengan tinggi navbar */
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #004d99; /* Biru untuk teks nama sekolah */
}

.logo img {
    height: 48px; /* Lebih kecil agar sejajar dengan navbar */
    margin-right: 12px; /* Jarak antara logo dan tulisan */
    display: block;
}

.logo span {
    font-size: 1.6em;
    font-weight: bold;
    white-space: nowrap; /* Mencegah teks melipat */
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-grow: 1;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    gap: 2px;
}

.nav-links li {
    position: relative;
}

.dropdown {
    position: relative;
    transition: box-shadow 0.2s;
}

.dropbtn {
    display: flex;
    align-items: center;
    padding: 18px 26px;
    text-decoration: none;
    color: #222;
    font-weight: 600;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1em;
    border-radius: 12px 12px 0 0;
    transition: all 0.25s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 2px 8px rgba(0,123,255,0.04);
    position: relative;
    z-index: 2;
}

.dropbtn:hover, .dropdown.active .dropbtn, .dropdown:focus-within .dropbtn {
    color: #007bff;
    background: #e6f0fa;
    box-shadow: 0 6px 18px rgba(0,123,255,0.10);
}

.dropdown-content {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    background: #fff;
    min-width: 240px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.16);
    border-radius: 0 0 18px 18px;
    z-index: 1001;
    padding: 12px 0;
    animation: dropdownFadeIn 0.28s cubic-bezier(.4,0,.2,1);
    border: 1px solid #e3eaf3;
    margin-top: 2px;
}

@keyframes dropdownFadeIn {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
    display: block !important;
}

.dropdown-content li {
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
}

.dropdown-content a {
    color: #222;
    padding: 14px 32px 14px 24px;
    text-decoration: none;
    display: block;
    font-weight: 500;
    border-radius: 6px;
    transition: background 0.18s, color 0.18s, padding 0.18s;
    position: relative;
    border-bottom: 1px solid #f1f4f8;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background: #e6f0fa;
    color: #0056b3;
    padding-left: 32px;
}

.dropdown .fa-caret-down {
    margin-left: 8px;
    font-size: 1.1em;
    transition: transform 0.25s cubic-bezier(.4,0,.2,1);
}

.dropdown:hover .fa-caret-down,
.dropdown:focus-within .fa-caret-down {
    transform: rotate(180deg);
}

.search-icon {
    margin-left: 20px;
}

.search-icon a {
    padding: 10px 15px;
    font-size: 1.3em;
    color: #0056b3;
    border-radius: 50%;
    transition: background 0.2s;
}

.search-icon a:hover {
    background: #e6f0fa;
}

/* Main Content Styles */
main {
    padding-top: 170px;
    padding: 48px 0 32px 0;
    min-height: 500px;
}

main h1 {
    text-align: center;
    color: #0056b3;
    margin-bottom: 30px;
    font-size: 2.5em;
    font-weight: 700;
    letter-spacing: 1px;
}

main h2 {
    color: #007bff;
    margin-top: 24px;
    font-size: 1.3em;
    font-weight: 600;
}

main p {
    max-width: 800px;
    margin: 0 auto 20px auto;
    text-align: justify;
    font-size: 1.08em;
}

/* Footer Styles */
footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 28px 0 18px 0;
    margin-top: 40px;
    font-size: 1em;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.04);
}

footer p {
    margin: 5px 0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .nav-content {
        flex-wrap: wrap;
        justify-content: center;
    }
    .navbar-title {
        font-size: 1.3em;
    }
    .nav-links {
        justify-content: center;
        width: 100%;
    }
    .nav-links li a, .dropbtn {
        padding: 12px 15px;
        font-size: 0.98em;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 8px;
    }
    .navbar-title {
        font-size: 1em;
    }
    .nav-links li a, .dropbtn {
        padding: 10px 8px;
        font-size: 0.95em;
    }
    .dropdown-content {
        min-width: 140px;
    }
    .card {
        padding: 18px 8px;
    }
}

@media (max-width: 480px) {
    .container {
        max-width: 414px;
        padding: 0 8px;
    }
    body {
        font-size: 0.98em;
    }
    .logo img {
        height: 50px;
    }
    .logo span {
        font-size: 1.1em;
    }
    .top-bar-item {
        font-size: 0.75em;
    }
    .navbar-title {
        font-size: 1.1em;
    }
    main h1 {
        font-size: 1.3em;
    }
    .card, .identitas-sekolah {
        max-width: 100%;
        padding: 10px 4px;
    }
    .nav-links {
        flex-wrap: wrap;
        gap: 0;
    }
    .nav-links li a, .dropbtn {
        padding: 8px 4px;
        font-size: 0.95em;
    }
    .dropdown-content {
        min-width: 120px;
        font-size: 0.95em;
    }
    .top-bar {
        font-size: 0.8em;
        gap: 6px;
    }
    .collage-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 120px;
        gap: 6px;
    }
    
    .collage-item.large {
        grid-column: span 2;
        grid-row: span 2;
    }
    
    .collage-item.medium {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .logo-navbar-title {
        height: 38px;
        padding: 2px;
    }
    .navbar-title-logo {
        gap: 8px;
    }
    .logo-provinsi {
        height: 32px;
        padding: 2px;
    }
    .navbar-title-row { top: 32px; }
    .nav-content { top: 80px; }
    main { padding-top: 120px; }
    .accordion-header, .accordion-item.active .accordion-body, .accordion-body {
        padding: 12px 16px;
    }
}

.logo-pojok-kiri {
    position: absolute;
    top: 20px;
    left: 20px;
    height: 70px;
    z-index: 1000;
}

.logo-navbar {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 4px 16px 4px 4px;
    border-radius: 8px;
    height: 60px;
}

.logo-navbar img {
    height: 48px;
    width: auto;
    display: block;
}

.beranda-nav {
    margin-top: 32px;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-nav, .btn, button, input[type="submit"] {
    background: linear-gradient(90deg, #007bff 0%, #0056b3 100%);
    color: #fff;
    padding: 13px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    border: none;
    box-shadow: 0 2px 8px rgba(0,123,255,0.07);
    transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
    cursor: pointer;
    margin: 8px 0;
    display: inline-block;
}

.btn-nav:hover, .btn:hover, button:hover, input[type="submit"]:hover {
    background: linear-gradient(90deg, #0056b3 0%, #007bff 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(0,123,255,0.13);
    transform: translateY(-2px) scale(1.03);
}

.card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    padding: 32px 28px;
    margin: 32px auto;
    max-width: 900px;
}

.identitas-sekolah {
    margin: 24px 0 32px 0;
    border-collapse: collapse;
    width: 100%;
    max-width: 900px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    font-size: 1.08em;
}
.identitas-sekolah td {
    padding: 8px 12px;
    border-bottom: 1px solid #e0e0e0;
}
.identitas-sekolah tr:last-child td {
    border-bottom: none;
}
.identitas-sekolah td:first-child {
    font-weight: bold;
    width: 220px;
    color: #0056b3;
}

.galeri-kolase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin: 36px 0 24px 0;
    justify-items: center;
}
.galeri-kolase img {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.10);
    transition: transform 0.2s, box-shadow 0.2s;
}
.galeri-kolase img:hover {
    transform: scale(1.04) rotate(-1deg);
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    z-index: 2;
}

.info-box-beranda {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    background: #f8fbff;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(0,123,255,0.07);
    padding: 24px 18px;
    margin: 28px auto 32px auto;
    max-width: 700px;
    font-size: 1.15em;
}
.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,123,255,0.06);
    padding: 14px 22px;
    font-weight: 500;
    color: #0056b3;
    min-width: 210px;
    justify-content: center;
}
.info-item i {
    font-size: 1.3em;
    color: #007bff;
}
@media (max-width: 600px) {
    .info-box-beranda {
        flex-direction: column;
        gap: 16px;
        padding: 14px 4px;
    }
    .info-item {
        min-width: 0;
        width: 100%;
        justify-content: flex-start;
    }
}

.btn-daftar {
    background: linear-gradient(90deg, #007bff 0%, #0056b3 100%);
    color: #fff;
    padding: 18px 48px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3em;
    border: none;
    box-shadow: 0 4px 18px rgba(0,123,255,0.10);
    transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
    cursor: pointer;
    display: inline-block;
    letter-spacing: 1px;
}
.btn-daftar:hover {
    background: linear-gradient(90deg, #0056b3 0%, #007bff 100%);
    color: #fff;
    box-shadow: 0 8px 32px rgba(0,123,255,0.18);
    transform: translateY(-2px) scale(1.04);
}

.logo-provinsi {
    height: 54px;
    width: auto;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,123,255,0.07);
    padding: 4px;
}

/* Carousel Slide Left + Fade */
.banner-carousel {
    width: 100vw;
    max-width: 100%;
    margin: 0 auto 32px auto;
    overflow: hidden;
    background: #e6f0fa;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,123,255,0.08);
    position: relative;
}
.carousel-track {
    position: relative;
    width: 100%;
    height: 52vw;
    max-height: 600px;
    min-height: 260px;
}
.carousel-track img {
    position: absolute;
    left: 0; top: 0;
    width: 100vw;
    max-width: 100%;
    height: 52vw;
    max-height: 600px;
    min-height: 260px;
    object-fit: cover;
    object-position: center center;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    opacity: 0;
    z-index: 1;
    transform: translateX(100%);
    transition: transform 0.7s cubic-bezier(0.4,0,0.2,1), opacity 0.5s;
    pointer-events: none;
}
.carousel-track img.active {
    opacity: 1;
    z-index: 2;
    transform: translateX(0);
    pointer-events: auto;
}
.carousel-track img.prev {
    opacity: 0;
    z-index: 1;
    transform: translateX(-60%);
    pointer-events: none;
}
.carousel-dots {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 2;
}
.carousel-dots .dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #007bff;
    opacity: 0.7;
    cursor: pointer;
    transition: background 0.2s, border 0.2s, opacity 0.2s;
}
.carousel-dots .dot.active {
    background: #007bff;
    border: 2px solid #0056b3;
    opacity: 1;
}
@media (max-width: 900px) {
    .carousel-track, .carousel-track img {
        height: 68vw;
        max-height: 340px;
        min-height: 180px;
    }
}
@media (max-width: 600px) {
    .banner-carousel {
        border-radius: 8px;
    }
    .carousel-track, .carousel-track img {
        height: 52vw;
        min-height: 120px;
        max-height: 180px;
    }
    .carousel-dots .dot {
        width: 11px;
        height: 11px;
    }
}

/* Card Informasi Jalur Masuk */
.info-box-jalur {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    background: #f8fafc;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    padding: 24px 20px;
    margin-bottom: 32px;
    justify-content: space-between;
}
.jalur-item {
    flex: 1 1 220px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
    padding: 18px 16px;
    margin: 0 0 0 0;
    min-width: 220px;
    max-width: 350px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.jalur-item:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
@media (max-width: 900px) {
    .info-box-jalur {
        flex-direction: column;
        gap: 16px;
        padding: 16px 8px;
    }
    .jalur-item {
        max-width: 100%;
        min-width: 0;
    }
}

/* Accordion Jalur Masuk */
.accordion-jalur {
    border-radius: 10px;
    margin-bottom: 32px;
    background: none;
}
.accordion-item {
    border: 1px solid #eee;
    border-radius: 6px;
    margin-bottom: 12px;
    background: #fff;
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.accordion-item.active {
    border-color: #e53935;
    box-shadow: 0 2px 12px rgba(229,57,53,0.08);
}
.accordion-header {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    outline: none;
    font-size: 1.15rem;
    font-weight: 700;
    padding: 18px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #222;
    transition: color 0.2s, background 0.2s;
}
.accordion-header:hover, .accordion-header:focus {
    color: #0056b3;
    background: #f4f7fb;
}
.accordion-item.active .accordion-header {
    color: #e53935;
    background: #fff5f5;
}
.accordion-header .arrow {
    min-width: 32px;
    text-align: center;
    display: inline-block;
}
.accordion-body {
    max-height: 0;
    overflow: hidden;
    background: #fff;
    color: #444;
    font-size: 1rem;
    padding: 0 20px;
    border-top: 1px solid #f0f0f0;
    transition: max-height 0.3s cubic-bezier(0.4,0,0.2,1), padding 0.2s;
}
.accordion-item.active .accordion-body {
    padding: 18px 20px;
}
@media (max-width: 600px) {
    .accordion-header, .accordion-item.active .accordion-body, .accordion-body {
        font-size: 0.98rem;
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* Special styling for Daftar menu item */
.nav-links li a[href="daftar.php"] {
    cursor: pointer;
    text-decoration: none;
}

.nav-links li a[href="daftar.php"]:hover {
    color: #007bff;
    background: #e6f0fa;
    box-shadow: 0 4px 12px rgba(0,123,255,0.07);
}

/* Ensure Daftar doesn't have dropdown behavior */
.nav-links li a[href="daftar.php"]:after {
    display: none !important;
}

/* Additional styling for daftar-link class */
.daftar-link {
    cursor: pointer !important;
    text-decoration: none !important;
    position: relative !important;
}

.daftar-link:hover {
    color: #007bff !important;
    background: #e6f0fa !important;
    box-shadow: 0 4px 12px rgba(0,123,255,0.07) !important;
}

.daftar-link:after {
    display: none !important;
}

/* Remove any dropdown indicators for daftar link */
.daftar-link .fa-caret-down {
    display: none !important;
}

.dropdown-ijazah {
    font-weight: 500;
    color: #222 !important;
    background: none !important;
    border-radius: 6px !important;
    margin: 0 !important;
    box-shadow: none !important;
    transition: background 0.18s, color 0.18s, padding 0.18s;
    padding: 14px 32px 14px 24px !important;
    border-bottom: 1px solid #f1f4f8;
    display: block !important;
}

.dropdown-ijazah:hover {
    background: #e6f0fa !important;
    color: #0056b3 !important;
    padding-left: 32px !important;
    box-shadow: none !important;
}

/* Login Ijazah Styles - Simple Card Version */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(120deg, #89f7fe 0%, #66a6ff 100%);
    padding: 0;
}

.login-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    padding: 40px 32px 32px 32px;
    width: 100%;
    max-width: 420px;
    border: none;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-header {
    text-align: center;
    margin-bottom: 32px;
    width: 100%;
}

.login-header h1 {
    color: #222;
    font-size: 2.3em;
    font-weight: 700;
    margin-bottom: 0.2em;
}

.login-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-group {
    margin-bottom: 18px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-group label {
    display: block;
    color: #222;
    font-size: 1em;
    font-weight: 500;
    margin-bottom: 7px;
    text-align: center;
    width: 100%;
}

.form-group input,
.form-group select {
    width: 100%;
    max-width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    background: #fff;
    color: #222;
    transition: border 0.2s;
    text-align: center;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #66a6ff;
}

.form-group input::placeholder {
    color: #bdbdbd;
}

.login-btn {
    width: 100%;
    padding: 12px 0;
    background: #168fff;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
    transition: background 0.2s;
    text-align: center;
}

.login-btn:hover {
    background: #0d6efd;
}

.login-footer {
    text-align: center;
    color: #222;
    font-size: 1em;
    margin-top: 18px;
    width: 100%;
}

.login-footer p {
    margin: 0;
    font-size: 0.98em;
}

.login-footer a {
    color: #168fff;
    text-decoration: underline;
    font-weight: 500;
    margin-left: 4px;
}

@media (max-width: 480px) {
    .login-card {
        padding: 24px 8px 18px 8px;
        border-radius: 14px;
    }
    .login-header h1 {
        font-size: 1.5em;
    }
}

.nav-links li a {
    display: flex;
    align-items: center;
    padding: 18px 26px;
    text-decoration: none !important;
    color: #222;
    font-weight: 600;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1em;
    border-radius: 12px 12px 0 0;
    transition: all 0.25s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 2px 8px rgba(0,123,255,0.04);
    position: relative;
    z-index: 2;
}

.nav-links li a:hover, .nav-links li.active a, .nav-links li a:focus {
    color: #007bff;
    background: #e6f0fa;
    box-shadow: 0 6px 18px rgba(0,123,255,0.10);
    font-weight: 700;
    text-decoration: none !important;
}

.nav-links li.active > a {
    color: #007bff;
    background: #e6f0fa;
    font-weight: 700;
    text-decoration: none !important;
}

.nav-links li a:visited {
    color: #222;
    text-decoration: none !important;
}

.login-success-info {
    text-align: center;
    margin: 32px 0 18px 0;
    font-size: 1.1em;
}

.login-user-info {
    margin-top: 16px;
    background: #f4f7fb;
    border-radius: 10px;
    display: inline-block;
    padding: 18px 32px;
    font-size: 1.15em;
    color: #222;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,123,255,0.07);
}

.login-success-info p {
    margin-bottom: 10px;
    color: #168fff;
    font-weight: 600;
}

.ijazah-preview {
    text-align: center;
    margin: 32px 0 18px 0;
}

.ijazah-img-preview {
    max-width: 320px;
    max-height: 400px;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0,123,255,0.10);
    margin-bottom: 18px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.download-ijazah-btn {
    display: inline-block;
    padding: 12px 28px;
    background: #168fff;
    color: #fff;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    margin-top: 10px;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0,123,255,0.10);
}

.download-ijazah-btn:hover {
    background: #0d6efd;
    box-shadow: 0 4px 16px rgba(0,123,255,0.18);
}

.ijazah-preview-empty {
    text-align: center;
    color: #888;
    font-size: 1.08em;
    margin: 32px 0 18px 0;
}

/* --- Tambahan Responsive Global untuk Tabel, Form, dan Gambar --- */
@media (max-width: 600px) {
  table, thead, tbody, th, td, tr { display: block; width: 100%; }
  table { border: none; }
  thead { display: none; }
  tr { margin-bottom: 18px; border-radius: 8px; box-shadow: 0 2px 8px #1976d220; background: #fff; }
  td { border: none; border-bottom: 1px solid #eee; position: relative; padding-left: 48%; text-align: left; min-height: 38px; }
  td:before {
    position: absolute;
    top: 8px; left: 12px; width: 44%;
    white-space: nowrap;
    font-weight: bold;
    color: #1976d2;
    font-size: 0.98em;
    content: attr(data-label);
  }
  .form-upload, form { flex-direction: column !important; gap: 6px !important; align-items: flex-start !important; }
  input, select, button, .btn, .action-btn { width: 100% !important; font-size: 1em !important; padding: 10px 0 !important; margin: 4px 0 !important; }
  img, video { max-width: 100% !important; height: auto !important; }
}
@media (max-width: 400px) {
  .container { padding: 2px 0; }
  h1, h2 { font-size: 1em; }
}

