* {
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
}

body {
    margin: 0;
    background: linear-gradient(135deg, #e3f2fd, #ffffff);
}

/* HEADER */
.header {
    display: flex;
    align-items: center;
    background: linear-gradient(90deg,#0d47a1,#1976d2);
    color: white;
    padding: 20px;
}

.logo {
    width: 90px;
    margin-right: 20px;
}

.header-text h1 {
    margin: 0;
    font-size: 22px;
}

.header-text h2 {
    margin: 3px 0;
    font-size: 18px;
}

.marquee {
    background: #ffeb3b;
    padding: 8px;
    font-weight: bold;
}

/* SLIDER */
.slider {
    width: 100%;
    overflow: hidden;
    height: 280px;
}

.slides {
    display: flex;
    animation: slide 15s infinite;
}

.slides img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

@keyframes slide {
    0% {margin-left:0}
    33% {margin-left:-100%}
    66% {margin-left:-200%}
}

/* CONTAINER */
.container {
    max-width: 1100px;
    margin: auto;
    padding: 20px;
}

/* LOGIN */
.login-card {
    max-width: 360px;
    margin: 30px auto;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,.15);
}

.login-card h3 {
    text-align: center;
}

.login-card input,
.login-card select,
.login-card button {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
}

.login-card button {
    background: #0d47a1;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: bold;
}

/* FORM */
.form-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,.1);
}

.form-card h3 {
    border-bottom: 2px solid #0d47a1;
    padding-bottom: 5px;
}

input, select, textarea {
    width: 100%;
    padding: 10px;
    margin-top: 8px;
}

textarea {
    resize: vertical;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.btn-daftar {
    background: #2e7d32;
    color: white;
    border: none;
    padding: 14px;
    margin-top: 20px;
    width: 100%;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
}

/* CAPTCHA */
.captcha {
    background: #e3f2fd;
    padding: 10px;
    font-size: 18px;
    text-align: center;
    border-radius: 6px;
    margin-top: 10px;
}

/* FOOTER */
footer {
    background: #0d47a1;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

/* RESPONSIVE */
@media(max-width:768px){
    .grid-2 {
        grid-template-columns: 1fr;
    }
    .header {
        flex-direction: column;
        text-align: center;
    }
}
.section-title{
    margin-top:30px;
    margin-bottom:15px;
    font-size:20px;
    color:#2c3e50;
}

.upload-card{
    background:#fff;
    padding:20px;
    border-radius:10px;
    box-shadow:0 8px 20px rgba(0,0,0,.05);
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}

.upload-item{
    display:flex;
    flex-direction:column;
}

.upload-item label{
    font-weight:600;
    margin-bottom:6px;
    color:#34495e;
}

.upload-item input[type=file]{
    padding:8px;
    border:1px dashed #ccc;
    border-radius:6px;
    background:#f9f9f9;
    cursor:pointer;
}

.upload-item input[type=file]:hover{
    border-color:#007bff;
    background:#eef5ff;
}

.upload-item small{
    margin-top:4px;
    font-size:12px;
    color:#7f8c8d;
}

.btn-daftar{
    margin-top:25px;
    padding:14px;
    width:100%;
    background:linear-gradient(135deg,#007bff,#0056b3);
    color:#fff;
    border:none;
    border-radius:8px;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

.btn-daftar:hover{
    opacity:.9;
    transform:translateY(-1px);
}

/* RESPONSIVE */
@media(max-width:768px){
    .upload-card{
        grid-template-columns:1fr;
    }
}

/* ================= UPLOAD DOKUMEN ================= */

.upload-title{
    margin:30px 0 15px;
    font-size:22px;
    font-weight:700;
    text-align:center;
    color:#2c3e50;
}

.upload-grid{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:20px;
    margin-bottom:25px;
}

.upload-box{
    background:#ffffff;
    border-radius:12px;
    padding:20px;
    text-align:center;
    border:2px dashed #dcdcdc;
    transition:0.3s;
}

.upload-box:hover{
    border-color:#007bff;
    background:#f4f8ff;
}

.upload-box .icon{
    font-size:36px;
    display:block;
    margin-bottom:10px;
}

.upload-box label{
    display:block;
    font-weight:600;
    margin-bottom:8px;
    color:#34495e;
}

.upload-box input[type=file]{
    width:100%;
    padding:8px;
    margin-bottom:6px;
    border:1px solid #ccc;
    border-radius:6px;
    background:#fff;
}

.upload-box small{
    font-size:12px;
    color:#777;
}

.btn-submit{
    width:100%;
    padding:15px;
    background:linear-gradient(135deg,#007bff,#0056b3);
    color:#fff;
    font-size:17px;
    font-weight:700;
    border:none;
    border-radius:10px;
    cursor:pointer;
    transition:0.3s;
}

.btn-submit:hover{
    opacity:0.9;
    transform:translateY(-2px);
}

/* RESPONSIVE */
@media(max-width:768px){
    .upload-grid{
        grid-template-columns:1fr;
    }
}
/* ================= FOOTER ================= */

.footer{
    background:linear-gradient(135deg,#0b2e59,#0a1f3c);
    color:#ffffff;
    margin-top:60px;
    font-family:'Segoe UI', Arial, sans-serif;
}

.footer-container{
    max-width:1200px;
    margin:auto;
    padding:40px 20px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.footer-col h3,
.footer-col h4{
    margin-bottom:15px;
    font-size:18px;
    color:#f1c40f;
}

.footer-col p{
    font-size:14px;
    line-height:1.6;
    color:#e0e0e0;
}

.footer-col ul{
    list-style:none;
    padding:0;
}

.footer-col ul li{
    font-size:14px;
    margin-bottom:10px;
    color:#e0e0e0;
}

.footer-bottom{
    border-top:1px solid rgba(255,255,255,0.15);
    text-align:center;
    padding:15px;
    font-size:13px;
    background:#081a32;
}

.footer-bottom strong{
    color:#f1c40f;
}

/* RESPONSIVE */
@media(max-width:768px){
    .footer-container{
        grid-template-columns:1fr;
        text-align:center;
    }
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #0d6efd, #084298);
    color: #fff;
    padding: 20px 30px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.logo {
    width: 50px;
    height: auto;
}

.header-text {
    text-align: center;
    flex: 1;
}

.header-text h1 {
    font-size: 20px;
    margin: 0;
    font-weight: 700;
}

.header-text h2 {
    font-size: 22px;
    margin: 4px 0;
    font-weight: 700;
}

.header-text h3 {
    font-size: 16px;
    margin: 4px 0;
    font-weight: 600;
}

.header-text p {
    font-size: 14px;
    margin-top: 6px;
    opacity: 0.9;
}

@keyframes fadeSlideDown {
    from {
        opacity: 0;
        transform: translateY(-25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-header {
    animation: fadeSlideDown 1s ease-out forwards;
}
.badge-akreditasi {
    display: inline-block;
    margin: 8px 0;
    padding: 6px 14px;
    background: linear-gradient(135deg, #f1c40f, #d4ac0d);
    color: #000;
    font-weight: 700;
    font-size: 13px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,.25);
    letter-spacing: 1px;
}
.header-logo-group {
    display: flex;
    gap: 10px;
    align-items: center;
}
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 20px;
    }

    .header-logo-group {
        justify-content: center;
    }

    .logo {
        width: 70px;
    }

    .header-text h1 {
        font-size: 18px;
    }

    .header-text h2 {
        font-size: 16px;
    }

    .badge-akreditasi {
        font-size: 12px;
        padding: 5px 12px;
    }
}
.marquee-wrap {
    width: 100%;
    overflow: hidden;
    background: #ffeb3b;
    padding: 10px 0;
}

.marquee-text {
    display: inline-block;
    white-space: nowrap;
    font-weight: bold;
    animation: marqueeMove 18s linear infinite;
}

@keyframes marqueeMove {
    from { transform: translateX(100%); }
    to   { transform: translateX(-100%); }
}
.header {
    position: sticky;
    top: 0;
    z-index: 999;
    transition: all 0.3s ease;
}
.header-scrolled {
    box-shadow: 0 6px 20px rgba(0,0,0,.25);
    padding: 12px 25px;
}
.logo {
    transition: transform .35s ease, filter .35s ease;
}

.logo:hover {
    transform: scale(1.08) rotate(-1deg);
    filter: drop-shadow(0 8px 10px rgba(0,0,0,.35));
}
.dark-toggle {
    background: rgba(255,255,255,.2);
    border: none;
    color: #fff;
    font-size: 18px;
    padding: 8px 12px;
    border-radius: 50%;
    cursor: pointer;
}
body.dark {
    background: #121212;
    color: #eaeaea;
}

body.dark .form-card,
body.dark .login-card,
body.dark .upload-box {
    background: #1f1f1f;
    color: #fff;
}

body.dark input,
body.dark select,
body.dark textarea {
    background: #2a2a2a;
    color: #fff;
    border: 1px solid #444;
}

body.dark .footer {
    background: #000;
}
/* ============================= */
/* HEADER RESPONSIVE (SMARTPHONE) */
/* ============================= */
@media (max-width: 768px){

    .header{
        flex-direction:column;
        padding:10px 12px;
        gap:8px;
        position:relative;
    }

    .header-logo-group{
        display:flex;
        justify-content:center;
        gap:10px;
    }

    .header-logo-group .logo{
        width:38px;
        height:auto;
    }

    .header-text{
        text-align:center;
        padding:0;
    }

    .header-text h1{
        font-size:14px;
        line-height:1.2;
        margin:2px 0;
    }

    .header-text h2{
        font-size:13px;
        margin:2px 0;
    }

    .header-text p{
        font-size:12px;
        margin:3px 0;
    }

    .badge-akreditasi{
        font-size:10px;
        padding:3px 8px;
        margin-top:4px;
        display:inline-block;
    }

    /* Dark Mode Toggle */
    .dark-toggle{
        position:absolute;
        top:8px;
        right:8px;
        width:32px;
        height:32px;
        font-size:14px;
        border-radius:50%;
    }
}
/* ================= ALUR PENDAFTARAN ================= */
.alur-image-section{
    padding:20px 0;
    background:#f4f8ff;
}
.alur-image{
    width:100%;
    height:auto;
    border-radius:16px;
    box-shadow:0 10px 30px rgba(0,0,0,0.12);
    display:block;
}

/* Responsive Mobile */
@media(max-width:768px){
    .alur-image-container h2{
        font-size:20px;
    }
}
/* ===== PASSWORD TOGGLE ===== */
.password-wrapper{
    position:relative;
    width:100%;
}

.password-wrapper input{
    width:100%;
    padding-right:45px; /* ruang untuk icon */
}

.toggle-password{
    position:absolute;
    right:15px;
    top:50%;
    transform:translateY(-50%);
    cursor:pointer;
    font-size:18px;
    user-select:none;
}