/* CONTAINER */
.udyam-wrapper {
    max-width: 480px;
    margin: 30px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #ffffff;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.udyam-wrapper * { box-sizing: border-box; }

.udyam-title {
    margin: 0 0 20px 0;
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
}

/* FORM */
.udyam-form { display: flex; flex-direction: column; gap: 15px; }

.udyam-input-group label {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 6px;
    display: block;
}

#udyam-email {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    background: #f8fafc;
    color: #334155;
    outline: none;
    transition: 0.2s;
}
#udyam-email:focus { border-color: #2563eb; background: #fff; }

/* CHECK BUTTON */
#udyam-check-btn {
    width: 100%;
    padding: 14px;
    background: #1e293b;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center;
    min-height: 50px;
}
#udyam-check-btn:hover { background: #334155; }
#udyam-check-btn:disabled { opacity: 0.8; cursor: not-allowed; }

/* BOUNCING ANIMATION */
.udyam-bouncer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 4px;
    height: 10px;
}
.udyam-bouncer div {
    width: 8px;
    height: 8px;
    background-color: #ffffff;
    border-radius: 50%;
    margin: 0 3px;
    animation: udyam-bounce 1.4s infinite ease-in-out both;
}
.udyam-bouncer .b1 { animation-delay: -0.32s; }
.udyam-bouncer .b2 { animation-delay: -0.16s; }
@keyframes udyam-bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* MESSAGES */
#udyam-msg-area {
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
    min-height: 20px;
}

/* RESULT CARD */
.um-detail-card {
    margin-top: 25px;
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
    animation: fadeIn 0.3s ease;
}
@keyframes fadeIn { from{opacity:0;} to{opacity:1;} }

.um-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.um-header span { font-weight: 700; font-size: 13px; color: #475569; text-transform: uppercase; }

.um-badge {
    background: #dcfce7; color: #166534;
    padding: 4px 10px; border-radius: 6px; 
    font-size: 12px; font-weight: 700;
}

.um-field { margin-bottom: 12px; }
.um-lbl { font-size: 12px; color: #64748b; font-weight: 700; margin-bottom: 4px; text-transform: uppercase; }
.um-val { font-size: 17px; font-weight: 700; color: #0f172a; word-break: break-all; }

/* STATUS LIST */
.um-status-list {
    margin-top: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
}
.um-st-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
}
.um-st-row:not(:last-child) { border-bottom: 1px dashed #cbd5e1; }
.um-st-label { font-size: 13px; color: #64748b; font-weight: 600; }
.um-st-val { font-size: 14px; font-weight: 800; text-transform: uppercase; }

.st-green { color: #16a34a; }   
.st-orange { color: #d97706; }  
.st-grey { color: #64748b; }

/* BUTTONS & REFUND BOX */
.btn-complete-reg {
    display: block;
    width: 100%;
    margin-top: 15px;
    padding: 14px;
    background: #16a34a; 
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    border-radius: 8px;
    font-size: 15px;
    box-shadow: 0 4px 6px rgba(22, 163, 74, 0.2);
    transition: 0.2s;
}
.btn-complete-reg:hover { background: #15803d; color: #fff; transform: translateY(-2px); }

.udyam-refund-box {
    margin-top: 20px;
    background: #fff5f5;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 15px;
}
.rf-row { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 6px; color: #7f1d1d; }
.rf-divider { border-top: 1px dashed #fca5a5; margin: 8px 0; }
.rf-amt { color: #dc2626; font-weight: 800; }
.rf-link { display: inline-block; margin-top: 10px; font-size: 11px; color: #ef4444; text-decoration: underline; text-transform: uppercase; font-weight: 700; }
.rf-link:hover { color: #b91c1c; }

#btn-dl-inv {
    width: 100% !important;
    padding: 15px !important;
    background-color: #2563eb !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    text-align: center !important;
    display: block !important;
    margin-top: 20px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 6px rgba(37,99,235,0.2) !important;
}
#btn-dl-inv:hover { background-color: #1d4ed8 !important; transform: translateY(-2px); }

.um-note { font-size: 12px; color: #64748b; margin-top: 15px; text-align: center; font-style: italic; }