.pad20p{
padding-right: 50px;
margin-left: 50px;
}
.marginV10{
margin-top: 20px;
margin-bottom: 20px;
}
.p_bar{
display:flex;
flex-direction:row; 
align-items:center; 
justify-content:center;

}
.p_div{
height:5px; 
width: 50px; 
background-color:#ccc;
}
.p_dot{
width:50px; height:50px; 
border-radius:25px;
background-color:#ccc;
display:flex;
flex-direction:row; 
align-items:center;
justify-content:center;
}
.p_check{
color:white;
font-weight:bold;
font-size:30px;
}

.p_bara{
display:flex;
flex-direction:row; 
align-items:center; 
justify-content:center;
}
.flex1{
    flex:1
}
.p_diva{
height:5px; 
width: 50px; 
background-color:rgba(42,121,248,1);
}
.p_dota{
width:50px; height:50px; 
border-radius:25px;
background-color:rgba(42,121,248,1);
display:flex;
flex-direction:row; 
align-items:center;
justify-content:center;
}
.p_checka{
color:white;
font-weight:bold;
font-size:30px;
}

.swal-footer{
display: flex;
justify-content: center;
}

.swal-button {
display: flex;
align-self: center;
}

.hideBtn{
display: none;
}

.showBtn{
display: inline;
}

/* Modern UI Redesign Overrides */
:root {
    --card-shadow: 0 10px 25px rgba(0,0,0,0.05);
    --input-focus: rgba(34, 117, 252, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.body {
    background-color: var(--backdrop) !important;
}

#wrapper {
    padding: 20px 0;
}

.wg-box {
    border-radius: 16px !important;
    box-shadow: var(--card-shadow) !important;
    border: 1px solid rgba(0,0,0,0.03) !important;
    padding: 30px !important;
    margin-bottom: 30px;
    background: #fff;
    display: flex;
    flex-direction: column !important; /* Stack for mobile-first/modern feel */
}

.wg-box .left {
    width: 100% !important;
    /* margin-bottom: 10px; */
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.wg-box .right {
    width: 100% !important;
}

.form-style-2 fieldset {
    margin-bottom: 25px !important;
}

.body-title {
    font-weight: 600 !important;
    color: var(--Heading) !important;
    font-size: 15px !important;

}

/* Keep original option button appearance, but allow responsive wrapping */
.radio-buttons {
    flex-wrap: wrap;
    overflow-x: visible;
    row-gap: 10px;
}

/* Form Inputs */
input[type="text"], 
input[type="number"], 
input[type="email"], 
select {
    width: 100%;
    padding: 12px 16px !important;
    border-radius: 10px !important;
    border: 1px solid #e2e8f0 !important;
    background: #fff !important;
    font-size: 14px !important;
    transition: var(--transition) !important;
}

input:focus {
    border-color: var(--Main) !important;
    box-shadow: 0 0 0 4px var(--input-focus) !important;
    outline: none !important;
}

/* Submit Button */
.tf-button {
    height: 52px !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(34, 117, 252, 0.2);
    transition: var(--transition);
}

.tf-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 117, 252, 0.3);
}

.ocr-launcher {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 24px 28px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(241,246,255,0.95));
    border: 1px solid rgba(34, 117, 252, 0.12);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.ocr-launch-button {
    @media  (max-width: 480px) {
        width: 100%;
    }
    min-width: 160px;
}

.ocr-modal-backdrop {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(10px);
    z-index: 2000;
}

.ocr-modal-backdrop.is-open {
    display: flex;
}

.ocr-modal {
    width: min(920px, 100%);
    max-height: min(92vh, 900px);
    overflow: auto;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 30px 90px rgba(15, 23, 42, 0.28);
}

.ocr-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 28px 18px;
    border-bottom: 1px solid #e5edf8;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.ocr-modal-kicker {
    margin-bottom: 6px;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ocr-modal-header h4 {
    margin: 0;
    color: #0f172a;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.ocr-modal-close {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    justify-content: center;
    align-items: center;
    display: flex;
    background: rgba(15, 23, 42, 0.06);
    color: #0f172a;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.ocr-modal-body {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 22px;
    padding: 24px 28px 28px;
}

.ocr-dropzone {
    display: grid;
    gap: 16px;
    align-content: start;
    padding: 24px;
    border: 2px dashed #bfd2f8;
    border-radius: 24px;
    background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
    color: #334155;
    cursor: pointer;
    @media (max-width: 480px) {
        visibility: hidden;
        display: none;
    }
}

.ocr-dropzone.is-dragover {
    border-color: #2563eb;
    background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
}

.ocr-dropzone-art {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border-radius: 22px;
    background: rgba(37, 99, 235, 0.12);
    color: #2563eb;
}

.ocr-dropzone-icon {
    font-size: 42px;
    line-height: 1;
    font-weight: 300;
}

.ocr-dropzone-copy {
    display: grid;
    gap: 4px;
}

.ocr-dropzone-copy strong {
    color: #0f172a;
    font-size: 18px;
}

.ocr-dropzone-copy span {
    color: #64748b;
    font-size: 14px;
}

.ocr-secondary-button {
    height: 46px !important;
    border: 1px solid rgba(37, 99, 235, 0.18) !important;
    background: #ffffff !important;
    color: #1d4ed8 !important;
    box-shadow: none !important;
}

.ocr-secondary-button:hover {
    background: #eff6ff !important;
    transform: translateY(-1px);
    box-shadow: none !important;
}

.ocr-selected-card {
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid #e5edf8;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.ocr-selected-thumb {
    position: relative;
    min-height: 300px;
    background: radial-gradient(circle at top, rgba(37, 99, 235, 0.10), rgba(15, 23, 42, 0.03));
}

.ocr-selected-thumb img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    display: none;
}

.ocr-selected-empty {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    color: #64748b;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
}

.ocr-selected-meta {
    display: grid;
    gap: 14px;
    padding: 22px;
}

.ocr-selected-title {
    color: #0f172a;
    font-size: 18px;
    font-weight: 800;
}

.ocr-selected-subtitle,
.ocr-selected-stats {
    color: #64748b;
    font-size: 14px;
}

.ocr-selected-stats {
    display: grid;
    gap: 6px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #f8fafc;
}

.ocr-selected-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ocr-selected-actions .tf-button {
    min-width: 130px;
}

.ocr-camera-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2500;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(2, 6, 23, 0.76);
}

.ocr-camera-panel {
    width: min(860px, 100%);
    border-radius: 20px;
    overflow: hidden;
    background: #0b1220;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.ocr-camera-video {
    width: 100%;
    max-height: 68vh;
    display: block;
    background: #000;
}

.ocr-camera-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 14px;
    background: #ffffff;
}

#btnReplacePhoto {
    display: none !important;
}

body.ocr-modal-open {
    overflow: hidden;
}

/* OCR modal message area (scoped to OCR modal only) */
.ocr-modal .ocr-message-area {
    padding: 14px 20px;
    display: flex;
    justify-content: center;
}

.ocr-modal .ocr-error-card {
    width: 100%;
    max-width: 720px;
    border-radius: 12px;
    padding: 12px 16px;
    background: linear-gradient(180deg, #ffffff, #fbfdff);
    border: 1px solid rgba(15,23,42,0.06);
    box-shadow: 0 12px 30px rgba(2,6,23,0.06);
    display: inline-block;
}

.ocr-modal .ocr-error-card.is-error {
    border-left: 4px solid #ef4444;
    color: #7f1d1d;
}

.ocr-modal .ocr-error-card.is-success {
    border-left: 4px solid #10b981;
    color: #064e3b;
}

.ocr-modal .ocr-error-text {
    font-size: 14px;
    line-height: 1.3;
}

@media (max-width: 992px) {
    .ocr-modal-body {
        grid-template-columns: 1fr;
    }

    .ocr-selected-thumb {
        min-height: 240px;
    }
}

#logo_header {
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: var(--transition);
}

#logo_header:hover {
    transform: scale(1.05);
}

h3.text-center {
    font-weight: 800 !important;
    letter-spacing: -1px;
    margin-top: 15px !important;
    color: var(--Heading);
}

/* Modal Polish */
.modal-content {
    border: none !important;
    border-radius: 20px !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
}

.modal-body {
    padding: 2rem !important;
}

.modal-footer {
    border-top: 1px solid #f1f5f9 !important;
    padding: 1.5rem !important;
}

/* Responsiveness Fixes */
@media (max-width: 768px) {
    .wg-box {
        padding: 20px !important;
        margin-left: -10px;
        margin-right: -10px;
        border-radius: 12px !important;
    }
    
    .section-content-right {
        padding: 0 !important;
    }

    #wrapper > div {
        padding: 15px !important;
    }

}

@media (max-width: 480px) {
    #btnReplacePhoto {
        display: inline-flex !important;
    }
}

