/* =========================================
   EDUGATE FRONTEND FORM STYLES (BK STYLE)
   ========================================= */

.edugate-form-container {
    max-width: 650px;
    margin: 40px auto;
    padding: 40px 45px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    border: 1px solid #e0e0e0;
}

.edugate-form-container h2 {
    text-align: center;
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 22px;
    letter-spacing: 0.5px;
}

.edugate-form-subtitle {
    text-align: center;
    color: #7f8c8d;
    font-size: 14px;
    margin-bottom: 35px;
    display: block;
}

/* Container Setiap Field (Vertikal) */
.edugate-field-group {
    margin-bottom: 24px;
}

/* Label Utama (Hitam Tebal) */
.edugate-field-group label {
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 6px;
    display: block;
}

/* Tanda Bintang Wajib */
.edugate-required {
    color: #e74c3c;
    font-size: 14px;
    margin-left: 2px;
}

/* Deskripsi Kecil di bawah label (Abu-abu muda) */
.edugate-desc {
    display: block;
    font-size: 12.5px;
    color: #95a5a6;
    margin-top: -2px;
    margin-bottom: 8px;
    font-style: italic;
}

/* Input & Select */
.edugate-field-group input[type="text"],
.edugate-field-group input[type="email"],
.edugate-field-group input[type="date"],
.edugate-field-group select {
    width: 100%;
    padding: 12px 15px;
    font-size: 14px;
    color: #333333;
    background: #fafafa;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

/* Hover saat cursor di atas input */
.edugate-field-group input[type="text"]:hover,
.edugate-field-group input[type="email"]:hover,
.edugate-field-group input[type="date"]:hover,
.edugate-field-group select:hover {
    border-color: #a8d9fa;
    background: #d0e8f8;
}

/* Efek Focus (Saat kolom diklik/ketik) */
.edugate-field-group input[type="text"]:focus,
.edugate-field-group input[type="email"]:focus,
.edugate-field-group input[type="date"]:focus,
.edugate-field-group select:focus {
    background: #ffffff;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Style Tanggal agar rapi di Chrome/Firefox */
.edugate-field-group input[type="date"] {
    cursor: pointer;
}

/* Styling Dropdown (Select) */
.edugate-field-group select {
    appearance: none; 
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237f8c8d' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    cursor: pointer;
}

/* Tombol Submit */
.edugate-submit-btn {
    width: 100%;
    margin-top: 10px;
    padding: 15px;
    background-color: #27ae60; 
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.2);
    
}

/* Efek Hover Tombol */
.edugate-submit-btn:hover {
    background-color: #c08036;
    transform: translateY(-2px); 
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.3);
}

/* Efek Active/Tekan */
.edugate-submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.2);
}

/* Responsif HP */
@media (max-width: 600px) {
    .edugate-form-container {
        margin: 15px auto;
        padding: 25px 20px;
        border-radius: 8px;
    }
}
/* =========================================
   TOMBOL CETAK BUKTI (HALAMAN STATUS)
   ========================================= */
.btn-cetak-bukti-style {
    display: inline-block;
    background-color: #ffffff;
    color: #2E7D32;
    padding: 10px 20px;
    border: 2px solid #2E7D32;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
    }

.btn-cetak-bukti-style:hover {
    background-color: #c08036;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(46, 125, 50, 0.2);
}
/* Efek Hover untuk Tombol Cetak */
.btn-edugate-print {
    background: #3498db;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.btn-edugate-print:hover {
    background: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
}

/* Print Layout 1/4 A4 */
@media print {
    .card-exam-container {
        width: 10.5cm;
        height: 14.8cm;
        border: 1px solid #ccc;
        padding: 1cm;
        page-break-inside: avoid;
    }
}
/* ==========================================
   HALAMAN CEK STATUS (ESTETIK & HOVER)
   ========================================== */

.edugate-status-page {
    max-width: 600px;
    margin: 40px auto;
    padding: 0 15px;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.edugate-status-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    padding: 40px 35px;
    border: 1px solid #f0f0f0;
}

.edugate-status-header {
    text-align: center;
    margin-bottom: 35px;
}

.edugate-status-icon {
    font-size: 45px;
    margin-bottom: 15px;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

.edugate-status-header h2 {
    color: #1a1a1a;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 10px 0;
    letter-spacing: -0.5px;
}

.edugate-status-header p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* --- FORM INPUT & TOMBOL --- */
.edugate-check-form-wrapper {
    margin-bottom: 10px;
}

.edugate-input-group {
    display: flex;
    gap: 0;
    background: #f4f5f7;
    border-radius: 14px;
    padding: 6px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.edugate-input-group:focus-within {
    background: #fff;
    border-color: #6c5ce7;
    box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.15);
}

.edugate-input-group input[type="text"] {
    flex: 1;
    border: none;
    background: transparent;
    padding: 14px 15px;
    font-size: 15px;
    color: #333;
    outline: none;
    font-family: inherit;
}

.edugate-input-group input[type="text"]::placeholder {
    color: #a0a0a0;
}

/* --- TOMBOL Cek Status --- */
.edugate-btn-check {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    font-family: inherit;
}

.edugate-btn-check:hover {
    background: linear-gradient(135deg, #5a4bd1, #8c7ae6);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(108, 92, 231, 0.4);
}

.edugate-btn-check:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(108, 92, 231, 0.3);
}

.edugate-btn-check .btn-icon {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.edugate-btn-check:hover .btn-icon {
    transform: translateX(3px);
}

/* --- AREA HASIL --- */
.edugate-result-area {
    margin-top: 25px;
}

/* ==========================================
   RESPONSIVE (MOBILE)
   ========================================== */
@media (max-width: 600px) {
    .edugate-status-page {
        margin: 20px auto;
        padding: 0 10px;
    }
    
    .edugate-status-card {
        padding: 30px 20px;
        border-radius: 16px;
    }
    
    .edugate-status-header h2 {
        font-size: 20px;
    }
    
    .edugate-input-group {
        flex-direction: column;
        border-radius: 12px;
        padding: 5px;
        gap: 5px;
    }
    
    .edugate-input-group input[type="text"] {
        text-align: center;
        padding: 12px 15px;
    }
    
    .edugate-btn-check {
        width: 100%;
        justify-content: center;
        border-radius: 8px;
        padding: 14px;
    }
}
/* Gaya untuk tombol link eksternal */
.edugate-external-form-button {
    background-color: #4285F4;
    color: white;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.edugate-external-form-button:hover {
    background-color: #3367d6;
}