/* =========================================================
   STYLE.CSS - WEBSITE MIN 5 LAMPUNG UTARA
   File dirapikan: Global → Navbar → Halaman → PPDB → Responsive
   ========================================================= */


/* =========================================================
   01. RESET & GLOBAL
   ========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f8faf9;
    color: #1e293b;
}

.section {
    padding: 90px 10%;
}

.section-title {
    margin-bottom: 50px;
    text-align: center;
}

.section-title span {
    color: #15803d;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.section-title h2 {
    margin-top: 8px;
    color: #14532d;
    font-size: 35px;
}


/* =========================================================
   02. NAVBAR, LOGO & MENU
   ========================================================= */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;
    height: 80px;
    padding: 0 7%;

    display: flex;
    align-items: center;

    background: #ffffff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-right: auto;
    text-decoration: none;
}

.logo-icon {
    width: 55px;
    height: 55px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
    background: transparent;
    border-radius: 10px;
}

.logo-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo h2 {
    color: #14532d;
    font-size: 17px;
}

.logo span {
    color: #64748b;
    font-size: 11px;
}

.menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu a {
    padding: 10px 14px;

    color: #475569;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;

    border-radius: 8px;
    transition: 0.3s;
}

.menu a:hover,
.menu a.active {
    color: #ffffff;
    background: #15803d;
}


/* Tombol Login / PPDB / Logout di sisi kanan navbar */

.login-button {
    margin-left: 15px;
    padding: 11px 23px;

    display: inline-block;

    color: #ffffff;
    background: #15803d;

    font-size: 14px;
    font-weight: 700;
    text-decoration: none;

    border-radius: 8px;
    transition: 0.3s;
}

.login-button:hover {
    color: #ffffff;
    background: #166534;
    transform: translateY(-2px);
}

.ppdb-button {
    background: #15803d;
}

.logout-button {
    margin-left: 8px;
    background: #dc2626;
}

.logout-button:hover {
    background: #b91c1c;
}


/* =========================================================
   03. BERANDA - HERO
   ========================================================= */

.hero {
    min-height: 600px;
    padding: 80px 10%;

    display: flex;
    align-items: center;
    gap: 60px;

    background: linear-gradient(135deg, #f0fdf4, #ffffff);
}

.hero-content,
.hero-image {
    flex: 1;
}

.subtitle {
    margin-bottom: 15px;

    color: #15803d;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
}

.hero h1 {
    margin-bottom: 20px;
    color: #14532d;
    font-size: 60px;
}

.description {
    max-width: 600px;

    color: #64748b;
    font-size: 17px;
    line-height: 1.8;
}

.hero-buttons {
    margin-top: 30px;

    display: flex;
    gap: 15px;
}

.primary-button,
.secondary-button {
    padding: 14px 25px;

    font-weight: 700;
    text-decoration: none;

    border-radius: 8px;
    transition: 0.3s;
}

.primary-button {
    color: #ffffff;
    background: #15803d;
}

.primary-button:hover {
    background: #166534;
}

.secondary-button {
    color: #15803d;
    border: 2px solid #15803d;
}

.secondary-button:hover {
    color: #ffffff;
    background: #15803d;
}

.hero-image {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
}

.school-card {
    width: 400px;
    height: 300px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    text-align: center;

    background: linear-gradient(135deg, #15803d, #14532d);
    border-radius: 25px;
    box-shadow: 0 25px 50px rgba(21, 128, 61, 0.3);
}

.school-card span {
    margin-bottom: 15px;
    font-size: 70px;
}

.school-card h3 {
    margin-bottom: 8px;
    font-size: 25px;
}

.school-card p {
    opacity: 0.85;
}


/* =========================================================
   04. HEADER HALAMAN
   Dipakai: Profil, Struktur, Kegiatan, Galeri, Kontak
   ========================================================= */

.page-header {
    padding: 90px 20px;

    color: #ffffff;
    text-align: center;

    background: linear-gradient(135deg, #14532d, #15803d);
}

.page-header p {
    margin-bottom: 12px;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.page-header h1 {
    margin-bottom: 10px;
    font-size: 45px;
}

.page-header span {
    opacity: 0.85;
}


/* =========================================================
   05. PROFIL
   ========================================================= */

.profile-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.profile-content > div {
    flex: 1;
}

.profile-content h3 {
    margin-bottom: 20px;

    color: #14532d;
    font-size: 27px;
}

.profile-content p,
.profile-description {
    margin-bottom: 15px;

    color: #64748b;
    font-size: 15px;
    line-height: 1.8;
}

.profile-box {
    padding: 35px 20px;

    display: flex;
    justify-content: space-around;

    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.profile-box div {
    text-align: center;
}

.profile-box strong {
    display: block;

    color: #15803d;
    font-size: 35px;
}

.profile-box span {
    color: #64748b;
    font-size: 13px;
}


/* Visi & Misi */

.vision-mission {
    margin-top: 50px;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.info-card {
    padding: 30px;

    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
}

.info-card h3 {
    margin-bottom: 15px;

    color: #14532d;
    font-size: 23px;
}

.info-card p,
.info-card li {
    color: #64748b;
    line-height: 1.8;
}

.info-card ul {
    padding-left: 20px;
}


/* =========================================================
   06. STRUKTUR ORGANISASI
   ========================================================= */

.structure {
    background: #f0fdf4;
}

.structure-container {
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.structure-card {
    padding: 25px;

    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
    text-align: center;
}

.structure-card h3 {
    margin-bottom: 8px;
    color: #14532d;
}

.structure-card p {
    color: #64748b;
}

.kepala {
    max-width: 300px;
    margin: 0 auto 30px;
}

.structure-line {
    width: 2px;
    height: 30px;
    margin: auto;
    background: #15803d;
}

.structure-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}


/* Foto pegawai */

.public-structure-photo,
.person-icon {
    width: 130px;
    height: 130px;
    margin: 0 auto 18px;

    overflow: hidden;

    background: #f0fdf4;
    border: 4px solid #dcfce7;
    border-radius: 50%;
}

.public-structure-photo img {
    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center 20%;
}

.person-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 52px;
}


/* =========================================================
   07. KEGIATAN
   ========================================================= */

.activities {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.activity-card {
    padding: 35px;
    overflow: hidden;

    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);

    text-align: center;
    transition: 0.3s;
}

.activity-card:hover {
    transform: translateY(-8px);
}

.activity-icon {
    margin-bottom: 20px;
    font-size: 50px;
}

.activity-card h3 {
    margin: 5px 0 12px;
    color: #14532d;
}

.activity-card p {
    color: #64748b;
    line-height: 1.7;
}


/* Foto kegiatan */

.public-activity-image {
    width: 100%;
    height: 220px;
    margin-bottom: 20px;

    overflow: hidden;

    background: #f1f5f9;
    border-radius: 12px;
}

.public-activity-image img {
    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

.public-activity-date {
    margin-bottom: 10px;
    padding: 6px 10px;

    display: inline-block;

    color: #166534;
    background: #dcfce7;

    font-size: 12px;
    font-weight: 700;

    border-radius: 6px;
}

.activities-empty {
    grid-column: 1 / -1;

    width: 100%;
    padding: 35px;

    color: #64748b;
    text-align: center;

    background: #f8fafc;
    border: 1px dashed #86efac;
    border-radius: 12px;
}


/* =========================================================
   08. GALERI
   Foto di atas, judul dan keterangan di bawah
   ========================================================= */

.gallery {
    background: #f0fdf4;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    align-items: start;
}

.gallery-item {
    width: 100%;
    overflow: hidden;

    display: flex;
    flex-direction: column;

    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);

    text-align: left;
    transition: 0.3s;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(21, 128, 61, 0.12);
}

.public-gallery-image {
    width: 100%;
    height: 230px;
    flex: none;

    overflow: hidden;
    background: #f1f5f9;
}

.public-gallery-image img {
    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition: transform 0.4s;
}

.gallery-item:hover .public-gallery-image img {
    transform: scale(1.05);
}

.public-gallery-info {
    width: 100%;
    padding: 18px 20px 20px;

    background: #ffffff;
    text-align: left;
}

.public-gallery-info h3 {
    margin-bottom: 7px;

    color: #14532d;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
}

.public-gallery-info p {
    color: #64748b;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.6;
}

.gallery-empty {
    max-width: 700px;
    margin: 0 auto;
    padding: 45px 25px;

    text-align: center;

    background: #f8fafc;
    border: 1px dashed #86efac;
    border-radius: 14px;
}

.gallery-empty span {
    display: block;
    margin-bottom: 12px;
    font-size: 45px;
}

.gallery-empty h3 {
    margin-bottom: 8px;
    color: #14532d;
}

.gallery-empty p {
    color: #64748b;
    font-size: 13px;
}


/* =========================================================
   09. KONTAK
   ========================================================= */

.contact-container {
    max-width: 1000px;
    margin: auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-box,
.contact-form {
    padding: 35px;

    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
}

.contact-box {
    text-align: center;
}

.contact-box h3,
.contact-form h3 {
    margin-bottom: 25px;

    color: #14532d;
    font-size: 23px;
}

.contact-box p {
    margin: 20px 0;
    color: #64748b;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 13px 15px;

    font-family: inherit;

    border: 1px solid #cbd5e1;
    border-radius: 8px;
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #15803d;
}

.contact-form button {
    padding: 13px;

    color: #ffffff;
    background: #15803d;

    font-weight: 700;

    border: none;
    border-radius: 8px;

    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    background: #166534;
}

/* =========================================================
   KONTAK - NOTIFIKASI FORM
   ========================================================= */

.contact-alert {
    width: 100%;
    padding: 12px 15px;

    font-size: 13px;
    line-height: 1.5;

    border-radius: 8px;
}


/* PESAN BERHASIL */

.contact-alert.success {
    color: #166534;

    background: #dcfce7;

    border: 1px solid #86efac;
}


/* PESAN ERROR */

.contact-alert.error {
    color: #991b1b;

    background: #fee2e2;

    border: 1px solid #fecaca;
}


/* =========================================================
   10. PPDB
   ========================================================= */

.ppdb-section {
    min-height: calc(100vh - 80px);
    padding: 70px 7%;

    text-align: center;

    background: linear-gradient(
        135deg,
        #f0fdf4 0%,
        #ffffff 55%,
        #ecfdf5 100%
    );
}

.ppdb-section h1 {
    margin-bottom: 12px;

    color: #14532d;
    font-size: 42px;
    font-weight: 700;
}

.ppdb-section > p {
    max-width: 700px;
    margin: 8px auto;

    color: #64748b;
    font-size: 15px;
    line-height: 1.8;
}

.ppdb-section > p strong {
    color: #15803d;
}

.ppdb-card {
    position: relative;

    width: 100%;
    max-width: 800px;
    margin: 40px auto 0;
    padding: 40px;

    overflow: hidden;

    background: #ffffff;
    border: 1px solid #dcfce7;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);

    text-align: left;
}

.ppdb-card::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 5px;

    background: linear-gradient(90deg, #14532d, #15803d, #22c55e);
}

.ppdb-card h2 {
    margin-bottom: 25px;
    padding-bottom: 15px;

    color: #14532d;
    font-size: 27px;

    border-bottom: 1px solid #e2e8f0;
}

.ppdb-card p {
    margin: 10px 0;

    color: #64748b;
    font-size: 15px;
    line-height: 1.8;
}

.ppdb-card strong,
.ppdb-card p strong {
    color: #14532d;
}

.ppdb-account-info {
    margin: 25px 0;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.ppdb-account-box {
    padding: 18px;

    background: #f0fdf4;
    border: 1px solid #dcfce7;
    border-radius: 12px;
}

.ppdb-account-box span {
    display: block;
    margin-bottom: 6px;

    color: #64748b;
    font-size: 12px;
}

.ppdb-account-box strong {
    color: #14532d;
    font-size: 15px;
}

.ppdb-card button {
    width: 100%;
    min-height: 48px;
    margin-top: 25px;
    padding: 12px 25px;

    color: #ffffff;
    background: #15803d;

    font-family: inherit;
    font-size: 15px;
    font-weight: 700;

    border: none;
    border-radius: 8px;

    cursor: pointer;
    box-shadow: 0 5px 15px rgba(21, 128, 61, 0.18);
    transition: 0.3s;
}

.ppdb-card button:hover {
    background: #166534;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(21, 128, 61, 0.25);
}

.ppdb-card button:active {
    transform: translateY(0);
}


/* Navbar khusus PPDB */

.ppdb-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;
    min-height: 80px;
    padding: 15px 7%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.ppdb-navbar nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.ppdb-navbar nav a {
    padding: 10px 14px;

    color: #475569;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;

    border-radius: 8px;
    transition: 0.3s;
}

.ppdb-navbar nav a:hover {
    color: #ffffff;
    background: #15803d;
    transform: translateY(-1px);
}

/* =========================================================
   PPDB - TOMBOL MULAI PENDAFTARAN
   Halaman: ppdb.php
   ========================================================= */

.ppdb-start-button {
    width: 100%;
    min-height: 48px;
    margin-top: 25px;
    padding: 13px 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    background: #15803d;

    border: 2px solid #15803d;
    border-radius: 9px;

    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;

    box-sizing: border-box;
    cursor: pointer;

    transition: 0.3s;
}

.ppdb-start-button:hover {
    background: #166534;
    border-color: #166534;

    transform: translateY(-2px);

    box-shadow:
        0 6px 18px rgba(21, 128, 61, 0.20);
}

.ppdb-start-button:active {
    transform: translateY(0);
}

/* =========================================================
   PPDB - HEADING
   ========================================================= */

.ppdb-heading {
    max-width: 750px;
    margin: 0 auto 30px;
    text-align: center;
}

.ppdb-label {
    display: inline-block;

    margin-bottom: 10px;
    padding: 6px 12px;

    color: #166534;
    background: #dcfce7;

    border-radius: 20px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.ppdb-heading h1 {
    margin-bottom: 12px;

    color: #14532d;

    font-size: 32px;
    line-height: 1.3;
}

.ppdb-heading p {
    color: #64748b;

    font-size: 14px;
    line-height: 1.7;
}

.ppdb-heading p strong {
    color: #15803d;
}


/* =========================================================
   PPDB - DESKRIPSI CARD
   ========================================================= */

.ppdb-card-description {
    margin: -5px 0 25px;

    color: #64748b;

    font-size: 13px;
    line-height: 1.6;
}

/* =========================================================
   PPDB - RESPONSIVE
   ========================================================= */

@media (max-width: 600px) {

    .ppdb-heading h1 {
        font-size: 26px;
    }

    .ppdb-start-button {
        min-height: 46px;
        padding: 12px 15px;
        font-size: 13px;
    }

}

/* =========================================================
   PPDB - FORM PENDAFTARAN
   Halaman: form_ppdb.php
   ========================================================= */

.ppdb-form-section {
    min-height: 80vh;
    padding: 60px 7%;

    background:
        linear-gradient(
            135deg,
            #f0fdf4,
            #ffffff,
            #ecfdf5
        );
}


/* =========================================================
   PPDB - JUDUL FORM
   ========================================================= */

.ppdb-form-heading {
    max-width: 750px;

    margin: 0 auto 35px;

    text-align: center;
}

.ppdb-form-heading > span {
    display: inline-block;

    margin-bottom: 10px;
    padding: 6px 12px;

    color: #166534;
    background: #dcfce7;

    border-radius: 20px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.ppdb-form-heading h1 {
    margin-bottom: 10px;

    color: #14532d;

    font-size: 32px;
}

.ppdb-form-heading p {
    color: #64748b;

    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   PPDB - ALERT
   ========================================================= */

.ppdb-form-alert {
    max-width: 900px;

    margin: 0 auto 20px;
    padding: 14px 18px;

    border-radius: 8px;

    font-size: 13px;
}

.ppdb-form-alert.error {
    color: #991b1b;
    background: #fee2e2;

    border: 1px solid #fecaca;
}


/* =========================================================
   PPDB - FORM
   ========================================================= */

.ppdb-registration-form {
    max-width: 900px;

    margin: 0 auto;
}

.ppdb-form-card {
    margin-bottom: 22px;
    padding: 30px;

    background: #ffffff;

    border: 1px solid #dcfce7;
    border-radius: 15px;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.05);
}

.ppdb-form-card h2 {
    margin-bottom: 22px;
    padding-bottom: 12px;

    color: #14532d;

    border-bottom: 1px solid #dcfce7;

    font-size: 19px;
}


/* =========================================================
   PPDB - GRID INPUT
   ========================================================= */

.ppdb-form-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;
}

.ppdb-form-group {
    min-width: 0;
}

.ppdb-form-group.full {
    grid-column: 1 / -1;
}

.ppdb-form-group label {
    display: block;

    margin-bottom: 8px;

    color: #334155;

    font-size: 13px;
    font-weight: 700;
}

.ppdb-form-group input,
.ppdb-form-group select,
.ppdb-form-group textarea {
    width: 100%;

    padding: 12px 14px;

    color: #334155;
    background: #ffffff;

    border: 1px solid #cbd5e1;
    border-radius: 8px;

    outline: none;

    font-family: inherit;
    font-size: 14px;

    box-sizing: border-box;

    transition: 0.3s;
}

.ppdb-form-group input,
.ppdb-form-group select {
    min-height: 46px;
}

.ppdb-form-group textarea {
    min-height: 120px;

    resize: vertical;

    line-height: 1.6;
}

.ppdb-form-group input:focus,
.ppdb-form-group select:focus,
.ppdb-form-group textarea:focus {
    border-color: #15803d;

    box-shadow:
        0 0 0 3px rgba(21, 128, 61, 0.10);
}

.ppdb-form-group input:disabled {
    color: #64748b;
    background: #f8fafc;

    cursor: not-allowed;
}


/* =========================================================
   PPDB - KONFIRMASI
   ========================================================= */

.ppdb-confirmation {
    margin: 25px 0;

    padding: 18px;

    background: #f0fdf4;

    border: 1px solid #bbf7d0;
    border-radius: 10px;
}

.ppdb-confirmation label {
    display: flex;

    align-items: flex-start;

    gap: 10px;

    color: #475569;

    font-size: 13px;
    line-height: 1.6;

    cursor: pointer;
}

.ppdb-confirmation input {
    width: 17px;
    height: 17px;

    margin-top: 2px;

    accent-color: #15803d;
}


/* =========================================================
   PPDB - TOMBOL FORM
   ========================================================= */

.ppdb-form-actions {
    display: flex;

    justify-content: flex-end;

    gap: 12px;
}

.ppdb-form-back,
.ppdb-form-submit {
    min-height: 46px;

    padding: 12px 20px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border-radius: 8px;

    font-family: inherit;
    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    box-sizing: border-box;

    cursor: pointer;

    transition: 0.3s;
}

.ppdb-form-back {
    color: #15803d;
    background: #ffffff;

    border: 1px solid #86efac;
}

.ppdb-form-back:hover {
    background: #f0fdf4;
}

.ppdb-form-submit {
    color: #ffffff;
    background: #15803d;

    border: 1px solid #15803d;
}

.ppdb-form-submit:hover {
    background: #166534;

    transform: translateY(-1px);

    box-shadow:
        0 5px 15px rgba(21, 128, 61, 0.20);
}


/* =========================================================
   PPDB FORM - RESPONSIVE
   ========================================================= */

@media (max-width: 700px) {

    .ppdb-form-section {
        padding: 45px 5%;
    }

    .ppdb-form-grid {
        grid-template-columns: 1fr;
    }

    .ppdb-form-group.full {
        grid-column: auto;
    }

    .ppdb-form-card {
        padding: 25px 20px;
    }

    .ppdb-form-heading h1 {
        font-size: 26px;
    }

    .ppdb-form-actions {
        flex-direction: column-reverse;
    }

    .ppdb-form-back,
    .ppdb-form-submit {
        width: 100%;
    }

}

/* =========================================================
   PPDB - STATUS PENDAFTARAN
   Halaman: status_ppdb.php
   ========================================================= */

.ppdb-status-section {
    min-height: 80vh;
    padding: 60px 7%;

    background:
        linear-gradient(
            135deg,
            #f0fdf4,
            #ffffff,
            #ecfdf5
        );
}

/* =========================================================
   PPDB - BUKTI PENDAFTARAN / CETAK
   ========================================================= */

.ppdb-print-body {
    margin: 0;
    padding: 30px 15px;

    color: #1e293b;
    background: #f1f5f9;

    font-family: Arial, sans-serif;
}


/* =========================================================
   TOMBOL AKSI
   ========================================================= */

.ppdb-print-actions {
    width: 100%;
    max-width: 850px;

    margin: 0 auto 15px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 10px;
}

.ppdb-print-back,
.ppdb-print-button {
    min-height: 42px;

    padding: 10px 16px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    font-size: 12px;
    font-weight: 700;

    text-decoration: none;

    cursor: pointer;

    box-sizing: border-box;

    transition: 0.3s;
}


/* KEMBALI */

.ppdb-print-back {
    color: #475569;
    background: #ffffff;

    border: 1px solid #cbd5e1;
}

.ppdb-print-back:hover {
    color: #15803d;
    border-color: #86efac;
}


/* CETAK */

.ppdb-print-button {
    color: #ffffff;
    background: #15803d;

    border: 1px solid #15803d;

    font-family: inherit;
}

.ppdb-print-button:hover {
    background: #166534;
    border-color: #166534;
}


/* =========================================================
   KERTAS
   ========================================================= */

.ppdb-print-page {
    width: 100%;
    max-width: 850px;

    margin: auto;
    padding: 35px 40px;

    background: #ffffff;

    border-radius: 10px;

    box-shadow:
        0 8px 30px rgba(15, 23, 42, 0.08);

    box-sizing: border-box;
}


/* =========================================================
   KOP SURAT PPDB
   ========================================================= */

.ppdb-print-header {
    position: relative;

    min-height: 90px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
}


/* LOGO */

.ppdb-print-logo {
    position: absolute;

    left: 0;
    top: 50%;

    width: 80px;
    height: 80px;

    object-fit: contain;

    transform: translateY(-50%);
}


/* TULISAN SEKOLAH */

.ppdb-print-school {
    width: 100%;

    padding-left: 100px;
    padding-right: 100px;

    text-align: center;

    box-sizing: border-box;
}

.ppdb-print-school p {
    margin: 3px 0;

    font-size: 12px;
    font-weight: 600;

    text-align: center;
}

.ppdb-print-school h1 {
    margin: 5px 0;

    color: #14532d;

    font-size: 24px;
    font-weight: 800;

    text-align: center;
}


/* GARIS KOP */

.ppdb-print-line {
    height: 3px;

    margin: 18px 0 25px;

    border-top: 3px solid #14532d;
    border-bottom: 1px solid #14532d;
}


/* =========================================================
   JUDUL
   ========================================================= */

.ppdb-print-title {
    margin-bottom: 25px;

    text-align: center;
}

.ppdb-print-title h2 {
    margin: 0 0 5px;

    font-size: 18px;
}

.ppdb-print-title p {
    margin: 0;

    color: #64748b;

    font-size: 12px;
}


/* =========================================================
   NOMOR PENDAFTARAN
   ========================================================= */

.ppdb-print-registration {
    margin-bottom: 25px;
    padding: 15px;

    text-align: center;

    background: #f0fdf4;

    border: 1px dashed #86efac;
    border-radius: 8px;
}

.ppdb-print-registration span {
    display: block;

    margin-bottom: 5px;

    color: #64748b;

    font-size: 11px;
}

.ppdb-print-registration strong {
    color: #14532d;

    font-size: 20px;
    letter-spacing: 1px;
}


/* =========================================================
   SECTION DATA
   ========================================================= */

.ppdb-print-section {
    margin-bottom: 25px;
}

.ppdb-print-section h3 {
    margin: 0 0 14px;
    padding-bottom: 8px;

    color: #14532d;

    border-bottom: 1px solid #d1fae5;

    font-size: 14px;
}

.ppdb-print-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 12px 25px;
}

.ppdb-print-field {
    padding-bottom: 9px;

    border-bottom: 1px solid #f1f5f9;
}

.ppdb-print-field span {
    display: block;

    margin-bottom: 4px;

    color: #64748b;

    font-size: 10px;
}

.ppdb-print-field strong {
    display: block;

    color: #1e293b;

    font-size: 12px;
    font-weight: 700;

    line-height: 1.5;

    word-break: break-word;
}

.ppdb-print-full {
    grid-column: 1 / -1;
}


/* =========================================================
   STATUS
   ========================================================= */

.ppdb-print-status.waiting {
    color: #ca8a04;
}

.ppdb-print-status.accepted {
    color: #15803d;
}

.ppdb-print-status.rejected {
    color: #dc2626;
}


/* =========================================================
   CATATAN
   ========================================================= */

.ppdb-print-note {
    margin-top: 25px;
    padding: 14px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;
    border-radius: 8px;

    font-size: 10px;
    line-height: 1.6;
}

.ppdb-print-note p {
    margin: 4px 0 0;
}


/* =========================================================
   TANDA TANGAN
   ========================================================= */

.ppdb-print-signature {
    margin-top: 35px;

    display: grid;
    grid-template-columns: 1fr 260px;

    text-align: center;

    font-size: 11px;
}

.ppdb-print-signature p {
    margin: 4px 0;
}

.ppdb-signature-space {
    height: 65px;
}


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

@media (max-width: 650px) {

    .ppdb-print-page {
        padding: 25px 15px;
    }

    .ppdb-print-header {
        min-height: 70px;
    }

    .ppdb-print-logo {
        width: 55px;
        height: 55px;
    }

    .ppdb-print-school {
        padding-left: 65px;
        padding-right: 65px;
    }

    .ppdb-print-school h1 {
        margin: 3px 0;

        font-size: 15px;
    }

    .ppdb-print-school p {
        margin: 2px 0;

        font-size: 8px;
    }

    .ppdb-print-grid {
        grid-template-columns: 1fr;
    }

    .ppdb-print-full {
        grid-column: auto;
    }

    .ppdb-print-signature {
        grid-template-columns: 1fr;
    }

    .ppdb-print-signature > div:first-child {
        display: none;
    }

}


/* =========================================================
   MODE CETAK / SAVE PDF
   ========================================================= */

@media print {

    @page {
        size: A4;
        margin: 12mm;
    }

    .ppdb-print-body {
        padding: 0;

        background: #ffffff;
    }

    .ppdb-print-actions {
        display: none;
    }

    .ppdb-print-page {
        width: 100%;
        max-width: none;

        margin: 0;
        padding: 0;

        border-radius: 0;
        box-shadow: none;
    }

    .ppdb-print-section {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .ppdb-print-note {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .ppdb-print-signature {
        break-inside: avoid;
        page-break-inside: avoid;
    }

}


/* =========================================================
   PPDB - STATUS HEADING
   ========================================================= */

.ppdb-status-heading {
    max-width: 750px;
    margin: 0 auto 35px;
    text-align: center;
}

.ppdb-status-heading > span {
    display: inline-block;

    margin-bottom: 10px;
    padding: 6px 12px;

    color: #166534;
    background: #dcfce7;

    border-radius: 20px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.ppdb-status-heading h1 {
    margin-bottom: 10px;

    color: #14532d;

    font-size: 32px;
}

.ppdb-status-heading p {
    color: #64748b;

    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   PPDB - ALERT BERHASIL
   ========================================================= */

.ppdb-success-alert {
    max-width: 900px;

    margin: 0 auto 25px;
    padding: 14px 18px;

    color: #166534;
    background: #dcfce7;

    border: 1px solid #86efac;
    border-radius: 9px;

    font-size: 13px;
    font-weight: 600;

    box-sizing: border-box;
}


/* =========================================================
   PPDB - CARD STATUS
   ========================================================= */

.ppdb-status-card {
    max-width: 900px;

    margin: 0 auto;
    padding: 30px;

    background: #ffffff;

    border: 1px solid #dcfce7;
    border-radius: 16px;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.06);

    box-sizing: border-box;
}


/* =========================================================
   PPDB - HASIL STATUS
   ========================================================= */

.ppdb-status-result {
    padding: 22px;

    display: flex;
    align-items: center;

    gap: 18px;

    border-radius: 12px;
}

.ppdb-status-icon {
    width: 55px;
    height: 55px;

    min-width: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    font-size: 25px;
    font-weight: 700;
}

.ppdb-status-result span {
    display: block;

    margin-bottom: 4px;

    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1px;
}

.ppdb-status-result h2 {
    margin-bottom: 5px;

    font-size: 21px;
}

.ppdb-status-result p {
    font-size: 13px;
    line-height: 1.6;
}


/* MENUNGGU */

.ppdb-status-result.waiting {
    color: #854d0e;
    background: #fefce8;

    border: 1px solid #fde68a;
}

.ppdb-status-result.waiting .ppdb-status-icon {
    background: #fef3c7;
}


/* DITERIMA */

.ppdb-status-result.accepted {
    color: #166534;
    background: #f0fdf4;

    border: 1px solid #86efac;
}

.ppdb-status-result.accepted .ppdb-status-icon {
    color: #ffffff;
    background: #16a34a;
}


/* DITOLAK */

.ppdb-status-result.rejected {
    color: #991b1b;
    background: #fef2f2;

    border: 1px solid #fecaca;
}

.ppdb-status-result.rejected .ppdb-status-icon {
    color: #ffffff;
    background: #dc2626;
}


/* =========================================================
   PPDB - NOMOR PENDAFTARAN
   ========================================================= */

.ppdb-registration-number {
    margin: 25px 0;
    padding: 22px;

    text-align: center;

    background: #f8fafc;

    border: 1px dashed #86efac;
    border-radius: 12px;
}

.ppdb-registration-number span {
    display: block;

    margin-bottom: 7px;

    color: #64748b;

    font-size: 12px;
}

.ppdb-registration-number strong {
    display: block;

    margin-bottom: 7px;

    color: #14532d;

    font-size: 25px;
    letter-spacing: 1px;
}

.ppdb-registration-number small {
    color: #94a3b8;

    font-size: 11px;
}


/* =========================================================
   PPDB - DATA PENDAFTAR
   ========================================================= */

.ppdb-status-data {
    margin-top: 25px;
}

.ppdb-status-data h3 {
    margin-bottom: 18px;
    padding-bottom: 10px;

    color: #14532d;

    border-bottom: 1px solid #e2e8f0;

    font-size: 17px;
}

.ppdb-status-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 12px;
}

.ppdb-status-item {
    padding: 15px;

    background: #f8fafc;

    border-radius: 9px;

    min-width: 0;
}

.ppdb-status-item.full {
    grid-column: 1 / -1;
}

.ppdb-status-item span {
    display: block;

    margin-bottom: 6px;

    color: #94a3b8;

    font-size: 11px;
}

.ppdb-status-item strong {
    display: block;

    color: #334155;

    font-size: 13px;
    line-height: 1.6;

    overflow-wrap: anywhere;
}


/* =========================================================
   PPDB - TOMBOL STATUS
   ========================================================= */

.ppdb-status-actions {
    margin-top: 30px;

    display: flex;
    justify-content: flex-end;
}

.ppdb-status-back {
    min-height: 44px;

    padding: 11px 18px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #15803d;
    background: #ffffff;

    border: 1px solid #86efac;
    border-radius: 8px;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    transition: 0.3s;
}

.ppdb-status-back:hover {
    background: #f0fdf4;
}

.ppdb-status-print-button {
    min-height: 44px;
    padding: 11px 18px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    background: #15803d;

    border: 1px solid #15803d;
    border-radius: 8px;

    font-size: 12px;
    font-weight: 700;

    text-decoration: none;

    transition: 0.3s;
}

.ppdb-status-print-button:hover {
    background: #166534;
    border-color: #166534;

    transform: translateY(-1px);
}


/* =========================================================
   PPDB STATUS - RESPONSIVE
   ========================================================= */

@media (max-width: 700px) {

    .ppdb-status-section {
        padding: 45px 5%;
    }

    .ppdb-status-card {
        padding: 22px 18px;
    }

    .ppdb-status-heading h1 {
        font-size: 26px;
    }

    .ppdb-status-result {
        align-items: flex-start;
    }

    .ppdb-status-grid {
        grid-template-columns: 1fr;
    }

    .ppdb-status-item.full {
        grid-column: auto;
    }

    .ppdb-registration-number strong {
        font-size: 19px;
    }

    .ppdb-status-actions {
        display: block;
    }

    .ppdb-status-back {
        width: 100%;
    }

}

@media (max-width: 450px) {

    .ppdb-status-result {
        flex-direction: column;
    }

}

/* =========================================================
   PPDB - NOMOR PENDAFTARAN
   Halaman: ppdb.php
   ========================================================= */

.ppdb-number-info {
    margin-top: 20px;
    padding: 16px 18px;

    text-align: center;

    background: #f0fdf4;

    border: 1px dashed #86efac;
    border-radius: 9px;
}

.ppdb-number-info span {
    display: block;

    margin-bottom: 6px;

    color: #64748b;

    font-size: 11px;
}

.ppdb-number-info strong {
    display: block;

    color: #14532d;

    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
}


/* =========================================================
   PPDB - WARNA STATUS
   ========================================================= */

.ppdb-account-status.ready {
    color: #15803d;
}

.ppdb-account-status.waiting {
    color: #ca8a04;
}

.ppdb-account-status.accepted {
    color: #15803d;
}

.ppdb-account-status.rejected {
    color: #dc2626;
}

/* =========================================================
   PPDB - UPLOAD DOKUMEN
   ========================================================= */

.ppdb-document-info {
    margin: 0 0 20px;

    color: #64748b;

    font-size: 12px;
    line-height: 1.7;
}


/* INPUT FILE */

.ppdb-form-group input[type="file"] {
    width: 100%;
    min-height: 46px;

    padding: 7px;

    color: #475569;
    background: #ffffff;

    border: 1px solid #cbd5e1;
    border-radius: 8px;

    font-family: inherit;
    font-size: 12px;

    box-sizing: border-box;
}


/* TOMBOL PILIH FILE */

.ppdb-form-group input[type="file"]::file-selector-button {
    margin-right: 12px;

    padding: 8px 14px;

    color: #ffffff;
    background: #15803d;

    border: none;
    border-radius: 6px;

    font-family: inherit;
    font-size: 11px;
    font-weight: 700;

    cursor: pointer;

    transition: 0.3s;
}


.ppdb-form-group input[type="file"]::file-selector-button:hover {
    background: #166534;
}


/* KETERANGAN */

.ppdb-form-group > small {
    display: block;

    margin-top: 6px;

    color: #64748b;

    font-size: 10px;
    line-height: 1.5;
}


/* OPSIONAL PADA LABEL */

.ppdb-form-group label small {
    display: inline;

    margin: 0 0 0 3px;

    color: #94a3b8;

    font-size: 10px;
    font-weight: 500;
}


/* =========================================================
   11. FOOTER
   ========================================================= */

footer {
    padding: 40px 20px;

    color: #ffffff;
    text-align: center;

    background: #14532d;
}

footer h3 {
    margin-bottom: 8px;
}

footer p {
    font-size: 14px;
    opacity: 0.8;
}

.copyright {
    margin-top: 25px;
}

/* =========================================================
   LOGIN PUBLIC
   Halaman: login.html
   ========================================================= */

.login-body {
    min-height: 100vh;
    padding: 30px 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(
        135deg,
        #f0fdf4,
        #dcfce7
    );
}


/* CONTAINER LOGIN */

.login-container {
    width: 100%;
    max-width: 450px;
}


/* CARD LOGIN */

.login-card {
    width: 100%;
    padding: 40px;

    background: #ffffff;

    border-radius: 20px;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.12);

    text-align: center;
}


/* =========================================================
   LOGO LOGIN
   ========================================================= */

.login-logo {
    width: 80px;
    height: 80px;

    margin: 0 auto 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

.login-logo img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}


/* =========================================================
   JUDUL LOGIN
   ========================================================= */

.login-card h1 {
    margin-bottom: 8px;

    color: #14532d;

    font-size: 30px;
    font-weight: 700;
}


/* Subtitle khusus di halaman login */

.login-card .subtitle {
    margin-bottom: 28px;

    color: #64748b;

    font-size: 14px;
    font-weight: 400;
    letter-spacing: normal;
}


/* =========================================================
   FORM LOGIN
   ========================================================= */

#loginForm {
    width: 100%;
}


.login-card .form-group {
    width: 100%;

    margin-bottom: 18px;

    text-align: left;
}


.login-card .form-group label {
    display: block;

    margin-bottom: 7px;

    color: #334155;

    font-size: 14px;
    font-weight: 600;
}


.login-card .form-group input {
    display: block;

    width: 100%;
    height: 46px;

    padding: 0 14px;

    color: #334155;

    background: #ffffff;

    border: 1px solid #cbd5e1;
    border-radius: 8px;

    outline: none;

    font-family: inherit;
    font-size: 14px;

    transition: 0.3s;
}


.login-card .form-group input:focus {
    border-color: #15803d;

    box-shadow:
        0 0 0 3px rgba(21, 128, 61, 0.10);
}


/* =========================================================
   TOMBOL SIGN IN
   ========================================================= */

.signin-button {
    width: 100%;
    height: 46px;

    margin-top: 5px;
    padding: 0 15px;

    color: #ffffff;

    background: #15803d;

    border: none;
    border-radius: 8px;

    font-family: inherit;
    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    transition: 0.3s;
}


.signin-button:hover {
    background: #166534;

    transform: translateY(-2px);

    box-shadow:
        0 5px 15px rgba(21, 128, 61, 0.20);
}


/* =========================================================
   TOMBOL LOGIN ADMIN
   ========================================================= */

.admin-login-button {
    width: 100%;

    margin-top: 12px;
    padding: 12px 20px;

    display: block;

    color: #15803d;

    background: #ffffff;

    border: 2px solid #15803d;
    border-radius: 8px;

    font-size: 14px;
    font-weight: 700;

    text-align: center;
    text-decoration: none;

    transition: 0.3s;
}


.admin-login-button:hover {
    color: #ffffff;

    background: #15803d;

    transform: translateY(-2px);
}


/* =========================================================
   PEMBATAS "ATAU"
   ========================================================= */

.login-card .divider {
    width: 100%;

    margin: 25px 0;

    display: flex;
    align-items: center;

    gap: 12px;

    color: #94a3b8;

    font-size: 13px;
}


.login-card .divider::before,
.login-card .divider::after {
    content: "";

    flex: 1;

    height: 1px;

    background: #e2e8f0;
}


/* =========================================================
   SIGN UP
   ========================================================= */

.signup-text {
    margin-bottom: 10px;

    color: #64748b;

    font-size: 14px;

    text-align: center;
}


.signup-button {
    width: 100%;
    height: 46px;

    display: block;

    color: #15803d;

    border: 2px solid #15803d;
    border-radius: 8px;

    font-size: 15px;
    font-weight: 700;

    line-height: 42px;

    text-align: center;
    text-decoration: none;

    transition: 0.3s;
}


.signup-button:hover {
    color: #ffffff;

    background: #15803d;
}


/* =========================================================
   LOGIN PUBLIC - RESPONSIVE
   ========================================================= */

@media (max-width: 500px) {

    .login-body {
        padding: 20px 15px;
    }

    .login-card {
        padding: 30px 22px;
    }

    .login-card h1 {
        font-size: 26px;
    }

    .login-logo {
        width: 70px;
        height: 70px;
    }
}

/* =========================================================
   SIGNUP PUBLIC
   Halaman: signup.html
   ========================================================= */

.signup-body {
    min-height: 100vh;
    padding: 30px 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(
        135deg,
        #f0fdf4,
        #dcfce7
    );
}


/* =========================================================
   CONTAINER SIGNUP
   ========================================================= */

.signup-container {
    width: 100%;
    max-width: 450px;
}


/* =========================================================
   CARD SIGNUP
   ========================================================= */

.signup-card {
    width: 100%;
    padding: 40px;

    background: #ffffff;

    border-radius: 20px;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.12);

    text-align: center;
}


/* =========================================================
   LOGO SIGNUP
   ========================================================= */

.signup-logo {
    width: 70px;
    height: 70px;

    margin: 0 auto 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}


.signup-logo img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}


/* =========================================================
   JUDUL SIGNUP
   ========================================================= */

.signup-card h1 {
    margin-bottom: 8px;

    color: #14532d;

    font-size: 28px;
    font-weight: 700;
}


.signup-subtitle {
    margin-bottom: 28px;

    color: #64748b;

    font-size: 14px;

    text-align: center;
}


/* =========================================================
   FORM SIGNUP
   ========================================================= */

#signupForm {
    width: 100%;
}


.signup-card .form-group {
    width: 100%;

    margin-bottom: 17px;

    text-align: left;
}


.signup-card .form-group label {
    display: block;

    margin-bottom: 7px;

    color: #334155;

    font-size: 14px;
    font-weight: 600;
}


/* =========================================================
   INPUT & SELECT SIGNUP
   ========================================================= */

.signup-card .form-group input,
.signup-card .form-group select {
    display: block;

    width: 100%;
    height: 46px;

    padding: 0 14px;

    color: #334155;

    background: #ffffff;

    border: 1px solid #cbd5e1;
    border-radius: 8px;

    outline: none;

    font-family: inherit;
    font-size: 14px;

    transition: 0.3s;
}


.signup-card .form-group input:focus,
.signup-card .form-group select:focus {
    border-color: #15803d;

    box-shadow:
        0 0 0 3px rgba(21, 128, 61, 0.10);
}


/* =========================================================
   TOMBOL SIGN UP
   ========================================================= */

.signup-submit {
    width: 100%;
    height: 46px;

    margin-top: 5px;
    padding: 0 15px;

    color: #ffffff;

    background: #15803d;

    border: none;
    border-radius: 8px;

    font-family: inherit;
    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    transition: 0.3s;
}


.signup-submit:hover {
    background: #166534;

    transform: translateY(-2px);

    box-shadow:
        0 5px 15px rgba(21, 128, 61, 0.20);
}


/* =========================================================
   TEKS SUDAH PUNYA AKUN
   ========================================================= */

.signin-text {
    margin-top: 22px;

    color: #64748b;

    font-size: 14px;

    text-align: center;
}


/* =========================================================
   LINK KEMBALI LOGIN
   ========================================================= */

.signin-link {
    display: block;

    margin-top: 10px;

    color: #15803d;

    font-weight: 700;

    text-align: center;
    text-decoration: none;
}


.signin-link:hover {
    color: #166534;

    text-decoration: underline;
}


/* =========================================================
   LINK KEMBALI BERANDA
   ========================================================= */

.back-home {
    display: block;

    margin-top: 20px;

    color: #64748b;

    font-size: 13px;

    text-align: center;
    text-decoration: none;
}


.back-home:hover {
    color: #15803d;
}


/* =========================================================
   SIGNUP - RESPONSIVE HP
   ========================================================= */

@media (max-width: 500px) {

    .signup-body {
        padding: 20px 15px;
    }


    .signup-card {
        padding: 30px 22px;
    }


    .signup-card h1 {
        font-size: 25px;
    }


    .signup-logo {
        width: 65px;
        height: 65px;
    }

}


/* =========================================================
   12. RESPONSIVE - TABLET (maks. 900px)
   ========================================================= */

@media (max-width: 900px) {

    .navbar {
        height: auto;
        padding: 15px 5%;
        flex-wrap: wrap;
        gap: 15px;
    }

    .logo {
        width: 100%;
    }

    .menu {
        order: 3;
        width: 100%;
        justify-content: center;
        overflow-x: auto;
    }

    .login-button {
        position: absolute;
        top: 20px;
        right: 5%;
    }

    .hero {
        padding: 70px 7%;
        flex-direction: column;
        text-align: center;
    }

    .hero h1 {
        font-size: 45px;
    }

    .description {
        margin: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .profile-content {
        flex-direction: column;
    }

    .structure-row {
        grid-template-columns: 1fr;
    }

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

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ppdb-section {
        padding: 60px 6%;
    }

    .ppdb-section h1 {
        font-size: 36px;
    }

    .ppdb-card {
        padding: 35px 30px;
    }

    .ppdb-navbar {
        padding: 15px 5%;
    }
}


/* =========================================================
   13. RESPONSIVE - HP (maks. 600px)
   ========================================================= */

@media (max-width: 600px) {

    .logo h2 {
        font-size: 14px;
    }

    .logo span {
        font-size: 9px;
    }

    .menu a {
        padding: 8px;
        font-size: 12px;
    }

    .login-button {
        padding: 9px 15px;
        font-size: 12px;
    }

    .hero h1 {
        font-size: 35px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .school-card {
        width: 100%;
        height: 250px;
    }

    .section {
        padding: 65px 6%;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .page-header h1 {
        font-size: 36px;
    }

    .profile-box {
        width: 100%;
        gap: 15px;
    }

    .profile-box strong {
        font-size: 28px;
    }

    .vision-mission {
        grid-template-columns: 1fr;
    }

    .public-activity-image {
        height: 200px;
    }

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

    .public-gallery-image {
        height: 220px;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .ppdb-section {
        padding: 50px 5%;
    }

    .ppdb-section h1 {
        font-size: 30px;
        line-height: 1.3;
    }

    .ppdb-section > p {
        font-size: 14px;
    }

    .ppdb-card {
        padding: 30px 20px;
        border-radius: 15px;
    }

    .ppdb-card h2 {
        font-size: 23px;
    }

    .ppdb-account-info {
        grid-template-columns: 1fr;
    }

    .ppdb-navbar nav {
        gap: 5px;
    }

    .ppdb-navbar nav a {
        padding: 8px 10px;
        font-size: 12px;
    }
}


/* =========================================================
   14. RESPONSIVE - HP KECIL (maks. 400px)
   ========================================================= */

@media (max-width: 400px) {

    .ppdb-section {
        padding: 40px 4%;
    }

    .ppdb-section h1 {
        font-size: 27px;
    }

    .ppdb-card {
        padding: 25px 17px;
    }

    .ppdb-navbar nav {
        width: 100%;
        flex-direction: column;
    }

    .ppdb-navbar nav a {
        width: 100%;
        text-align: center;
    }
}

/* =========================================================
   LOGIN PUBLIC - TOMBOL LOGIN ADMIN
   Tombol menuju halaman admin/login.php
   ========================================================= */

.admin-login-button {
    width: 100%;

    margin-top: 12px;
    padding: 13px 20px;

    display: block;

    color: #15803d;
    background: #ffffff;

    border: 2px solid #15803d;
    border-radius: 8px;

    font-size: 14px;
    font-weight: 700;

    text-align: center;
    text-decoration: none;

    box-sizing: border-box;

    transition: 0.3s;
}


.admin-login-button:hover {
    color: #ffffff;
    background: #15803d;

    transform: translateY(-2px);

    box-shadow: 0 5px 15px rgba(21, 128, 61, 0.18);
}

