/* === RESET & GLOBAL === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #d1fae5 100%);
    color: #1e293b;
    min-height: 100vh;
    padding: 20px;
}

/* === NAV === */
nav {
    background: white;
    padding: 20px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    border-radius: 12px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    font-weight: 700;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .school-name {
    font-size: 20px;
    font-weight: 700;
    color: #059669;
    line-height: 1;
}

.logo-text .school-location {
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
    margin-top: 2px;
}

/* === FORM BOX === */
.box-formulir {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.box-formulir h1 {
    font-size: 32px;
    color: #059669;
    text-align: center;
    margin-bottom: 10px;
    font-weight: 700;
}

.box-formulir h2 {
    font-size: 22px;
    color: #0f766e;
    margin: 30px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 3px solid #10b981;
    font-weight: 600;
}

/* === TABLE FORM === */
.table-form {
    width: 100%;
    margin-bottom: 20px;
}

.table-form tr {
    line-height: 2.5;
}

.table-form td:first-child {
    width: 35%;
    font-weight: 500;
    color: #475569;
}

.table-form td:nth-child(2) {
    width: 5%;
    text-align: center;
    color: #64748b;
}

/* === INPUT CONTROL === */
.input-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    transition: all 0.3s;
    background: #f8fafc;
}

.input-control:focus {
    outline: none;
    border-color: #10b981;
    background: white;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

select.input-control {
    cursor: pointer;
}

textarea.input-control {
    min-height: 100px;
    resize: vertical;
}

input[type="radio"] {
    width: auto;
    margin-right: 5px;
    cursor: pointer;
    accent-color: #10b981;
}

/* === SUBMIT AREA === */
.submit {
    width: 100%;
    text-align: center;
    margin-top: 30px;
}

/* === BUTTONS === */
.btn-daftar,
.btn-kembali {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: white;
    padding: 18px 60px;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.3);
    font-family: 'Poppins', sans-serif;
}

.btn-daftar:hover,
.btn-kembali:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(5, 150, 105, 0.4);
}

/* === INFO BADGE === */
.info-badge {
    background: #ecfdf5;
    border-left: 4px solid #10b981;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-badge i {
    font-size: 24px;
    color: #059669;
}

.info-badge p {
    margin: 0;
    color: #0f766e;
    font-size: 14px;
    line-height: 1.6;
}

/* === ERROR BADGE === */
.error-badge {
    background: #fee2e2;
    border-left: 4px solid #ef4444;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.error-badge i {
    font-size: 24px;
    color: #ef4444;
}

.error-badge p {
    margin: 0;
    color: #b91c1c;
    font-size: 14px;
    line-height: 1.6;
}

/* === ERROR BOX === */
.error-box {
    background: #fee2e2;
    color: #b91c1c;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #ef4444;
}

/* === SUCCESS BADGE === */
.success-badge {
    background: #dcfce7;
    border-left: 4px solid #16a34a;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.success-badge i {
    font-size: 24px;
    color: #16a34a;
}

.success-badge p {
    margin: 0;
    color: #166534;
    font-size: 14px;
}

/* === BOX (inner) === */
.box {
    background: #f8fafc;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}
