/* ============================================================
   app-custom.css — UK ETA Application custom styles
   Extracted from app.html inline <style> blocks
   ============================================================ */

/* ── Block 1: Core application styles ── */

@media all and (max-width: 781px)
{
.newFormSubLabel{
	max-width: 100% !important;
	}
}
form#checkoutForm {
	display: contents;
}
.ms-value-input{
	display: none !important;
}
@media only screen and (max-width: 768px) {
	.Hero-Section-subheading {
	    margin: auto !important;
	}
	.topHeaderSectionText, #formHeader,   #firstPageSideSec, #btnPreviousSidebar {
		display: none;
	}

	.etaSubmitform{
		border: 0px;
	}
	div.mobileAppButton {
	    position: fixed;
	    width: 100%;
	    bottom: 0;
	    left: 0;
	    padding: 12px;
	    background: #fff;
	    z-index : 2;
	}
	footer {
	    padding-bottom: 100px !important;
	}
	.mobileAppButton button {
	    width: 100%;
	}
	div#chat-widget-container {
	    margin-bottom: 94px;
	}
	#form-help-section{
		display: none !important;
	}
	#apply {
	    margin-left: 0% !important;
	    margin-right: 0% !important;
	    padding-top: 20px;
	}

}

div#applicantscount {
    border: 1px solid #dee2e6;
    width: 100px;
    border-radius: 10px;
    padding: 5px;
    text-align: center;
    margin-left: 20px;
    margin-right: 20px;
}

button#increment, button#decrement {
    background: white;
    border: 1px solid #dee2e6;
    padding-left: 14px;
    padding-right: 14px;
    padding-top: 0px;
    padding-bottom: 0px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 22px;
    color: #1e3a8a;
}
button#increment:hover, button#decrement:hover {
    background: #eaf0f8;
}
#applicationHeader{
    width: 40px;
    height: 40px;
    border-radius: 100%;
    border: 2px solid #fff;
    margin-right: 18px;
}
#applicationHeaderimg{
    width: 40px;
    height: 40px;
    border: 2px solid #fff;
    margin-right: 18px;
}
#apply{
 	margin-left: 2%;
    margin-right: 2%;
}
div#applicationformHeader {
    color: #fff;
    margin-left: 8%;
    margin-right: 8%;
    padding-top: 32px;
    padding-bottom: 32px;
}
.appheader {
    text-align: left;
}

.appheader > div:first-child {
    font-weight: 700;
    font-size: 24px;
}

.appheader > div:last-child {
    font-size: 14px;
    color: hsl(0deg 0% 100% / 90%);
}
div#form-help-section {
    width: 28%;
}
div#applicationForm {
    width: 72%;
    border: 1px solid hsl(214.3 31.8% 91.4%);
    border-radius: 14px;
     font-size: 14px !important;
	 background: #fff !important;

}
@media all and (max-width: 981px)
{
	div#applicationForm {
    width: 100%;
    border: 1px solid hsl(214.3 31.8% 91.4%);
    border-radius: 14px;
     font-size: 14px !important;
	 background: #fff !important;

}
}
select, input{
 font-size: 14px !important;
}
div#helpAppHeader > span:first-child {
    background: hsl(222 85% 23%);
    color: #fff;
    font-weight: 700;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    border: 1px solid hsl(214.3 31.8% 91.4%);
}
div#helpAppHeader {
    font-weight: 600;
    font-size: 14px;
}
.helpSubtext {
    font-size: 12px;
    color: hsl(215.4 16.3% 46.9%);
    padding-top: 6px;
    padding-bottom: 6px;
    margin-bottom: 0px;
}
.helpHeader {
    font-size: 12px;
    font-weight: 600;
    padding-top: 16px;
}
.Hero-Section-subheading {
    width: fit-content;
    background: #d5ebe5;
    color: lab(38.265% -55.7439 21.619);
    padding: 3px 10px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 12px;
    margin-left: 20px !important;
	margin-top: 20px !important;
}
section#trustSec {
	background: hsl(222deg 85% 23%/ 5%);
	padding-top: 16px;
	padding-bottom: 16px;
}
.newFormLabel {
    font-weight: 600;
    font-size: 20px;
}

.newFormSubLabel {
    font-size: 14px;
    color: hsl(215.4 16.3% 46.9%);
    padding-top: 14px;
	max-width: 70%;
}
div#newformHeader {
    border-bottom: 1px solid hsl(214.3 31.8% 91.4%);
    padding-top: 16px !important;
    padding-bottom: 16px !important;
}
.passportdetails {
    background: #e2e2e257 !important;
    border: 1px solid #dee2e6;
}
.newgreyborder{
	border: 1px solid hsl(214.3 31.8% 91.4%) !important;

}
div#valueAddedBox {
    background: #E2F5E9 !important ;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid #24721eeb;
    margin-bottom: 16px;
}
div#valueAddedBox .d-flex {
    margin-top: 4px;
}

div#valueAddedBox .d-flex:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

div#valueAddedBox #boxHeader {
    padding-bottom: 10px !important;
    border-bottom: 1px solid rgba(36, 114, 30, 0.2) !important;
    margin-bottom: 6px !important;
}

div#valueAddedBox #boxHeader .vab-icon {
    width: 20px !important;
    height: 20px !important;
}

div#valueAddedBox .iconElm {
    padding-top: 2px !important;
    flex-shrink: 0 !important;
    width: 22px !important;
    text-align: center;
}
div#valueAddedBox .iconElm {
    flex-shrink: 0;
    padding-top: 1px;
}

div#valueAddedBox .valueTextelm {
    font-size: 12px !important;
    color: #1a4d1a !important;
    line-height: 1.55 !important;
    padding-top: 2px;

}

div#valueAddedBox .d-flex {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 6px 0 !important;
    align-items: flex-start !important;
    gap: 8px !important;
    border-bottom: 1px solid rgba(36, 114, 30, 0.12);
}

div#valueAddedBox #boxHeader span.fw-bold {
    font-weight: 700 !important;
    font-size: 13px !important;
    color: #14532d !important;
}
/* Validity row */
#validityBox .d-flex:has(#valid-for) > p:first-child::before {
    background-image: url('https://visafi.com/wp-content/themes/hello-theme-child-master/assets/img/visa-uk-eta/application/calender.png');
}

/* Entries row */
#validityBox .d-flex:has(#entries) > p:first-child::before {
    background-image: url('https://visafi.com/wp-content/themes/hello-theme-child-master/assets/img/visa-uk-eta/application/entrytype.png');
}

/* Max stay row */
#validityBox .d-flex:has(#max-stay) > p:first-child::before {
    background-image: url('https://visafi.com/wp-content/themes/hello-theme-child-master/assets/img/visa-uk-eta/application/stay.png');
}

/* Government fees row */
#validityBox .d-flex:has(#governmentFees) > p:first-child::before {
    background-image: url('https://visafi.com/wp-content/themes/hello-theme-child-master/assets/img/visa-uk-eta/application/fee.png');
}

/* ── First-page sidebar card (desktop only) ── */
@media (min-width: 769px) {
    #step1Form .side-content {
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 4px 24px rgba(0,0,0,0.10);
        border-top: 3px solid #1e3a8a;
        padding: 22px 22px 20px;
    }
}

fieldset#firstPageSideSec {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin-bottom: 0;
}

fieldset#firstPageSideSec legend.newgreyborder {
    border: none !important;
    background: #f1f3f5;
    color: #444;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 4px 12px;
    border-radius: 20px;
    width: auto;
    float: none;
    margin-bottom: 10px;
}

fieldset#firstPageSideSec h5 {
    font-size: 1.3rem;
    margin-bottom: 16px;
    color: #0d1b4b;
}

#validityBox .d-flex {
    padding: 12px 0 !important;
    margin: 0 !important;
    border-bottom: 1px solid #eef0f3;
    align-items: center !important;
}

#validityBox .d-flex:last-child {
    border-bottom: none;
    padding-bottom: 4px !important;
}

#validityBox .d-flex > p:first-child {
    color: #6b7280;
    font-size: 14px;
}

#validityBox .d-flex > p:last-child {
    font-size: 14px;
    color: #0d1b4b;
}

/* Remove icon pseudo-elements */
#validityBox .d-flex > p:first-child::before {
    display: none !important;
    content: none !important;
}

/* Button inside card (desktop only) */
@media (min-width: 769px) {
    #step1Form .mobileAppButton {
        padding: 0;
        margin-top: 16px;
    }

    #step1Form #startAppBtn {
        background: #1e3a8a !important;
        border: none !important;
        border-radius: 12px !important;
        font-weight: 700 !important;
        font-size: 15px !important;
        padding: 14px 20px !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin-top: 0 !important;
        letter-spacing: 0.2px;
    }

    #step1Form #startAppBtn::after {
        content: '›';
        font-size: 22px;
        line-height: 1;
        margin-left: 4px;
    }
}

@media (max-width: 768px) {
	 #dataInfoModal .modal-dialog {
    margin-top: 90px !important;
  }
}

/* ── Step 2 sidebar card (desktop only) ── */
@media (min-width: 769px) {
    #step2Form .side-content {
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 4px 24px rgba(0,0,0,0.10);
        border-top: 3px solid #1e3a8a;
        padding: 22px 22px 20px;
    }
}

#step2Form .rightsidedet h5 {
    color: #0d1b4b;
    font-size: 1.2rem;
    border-bottom: 1px solid #eef0f3 !important;
}

#step2Form .details-wrapper .d-flex {
    padding: 10px 0;
    border-bottom: 1px solid #eef0f3;
    margin-bottom: 0 !important;
}

#step2Form .details-wrapper .d-flex:last-child {
    border-bottom: none;
}

#step2Form .details-wrapper p {
    font-size: 14px;
    color: #6b7280;
}

#step2Form .details-wrapper p.fw-bold,
#step2Form .details-wrapper strong {
    color: #0d1b4b;
}

/* ── Block 2: Navbar & VF section styles ── */

/* li#Contact-link {
    display: none;
}
*/
@media ( max-width : 991px) {
    li#contact-Button {
        display: none;
    }
    li#Contact-link {
        display: Block !important;
    }
    li#Contact-link {
        /* border: none !important; */
    }
    .navbar-collapse {
        position: fixed;
        top: 8%;
        left: 0;
        right: 0;
        background-color: #fff;
        z-index: 1050;
        width: 100%;
        box-shadow: 0 4px 10px rgb(0 0 0/ 9%);
        overflow-y: auto;
    }
    .navbar-nav {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    li.nav-item {
        border-bottom: solid 1px #dadada;
    }
    .navbar-nav .nav-item {
        width: 100%;
        text-align: left;
    }
    a.nav-link {
        color: #000000;
        font-size: 16px;
        text-align: left !important;
        padding: 14px !important;
    }
    .navbar-nav .nav-link {
        padding: 15px 0;
        width: 100%;
        text-align: left;
    }
    .navbar-toggler {
        z-index: 1060;
    }
    ul.navbar-nav.ms-auto {
        gap: 0px !important;
    }
}
button#profileBtn {
    font-size: 18px !important;
    padding: 0px;
}
#headerLogo {
    width: 250px;
    margin-right: 12px;
}
.headerLogoText {
    font-weight: 700;
    color: #fff;
    font-size: 1.25rem;
    line-height: 1.75rem;
        text-wrap: nowrap;
}

span.headerlogosubtext {
    opacity: 0.9;
    font-size: 13px;
    line-height: 1.25rem;
    color: #fff;
        text-wrap: nowrap;

}

#helperbox{
	background-color: #fff !important;
	padding: 20px !important;
	border-radius: 10px !important;
	border: 1px solid #282828 !important;
}

/* ===== PROFESSIONAL REDESIGN: VF Sections (Desktop lg+) ===== */
:root {
	--vf-navy:    #132344;
	--vf-blue:    #244298;
	--vf-heading: #0f172a;
	--vf-muted:   #64748b;
	--vf-border:  #e2e8f0;
}

.vf-section-badge {
	display: inline-block;
	background: #eff6ff;
	color: #244298;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	padding: 5px 14px;
	border-radius: 999px;
	border: 1px solid #bfdbfe;
	margin-bottom: 1.1rem;
}

.vf-section-title {
	font-size: 2rem;
	font-weight: 800;
	color: var(--vf-heading);
	letter-spacing: -0.4px;
	margin-bottom: 0.75rem;
	line-height: 1.25;
}

.vf-section-sub {
	font-size: 0.975rem;
	color: var(--vf-muted);
	max-width: 560px;
	margin: 0 auto 3rem;
	line-height: 1.7;
}

/* --- Section 2: Process --- */
.vf-process-v2 {
	padding: 5rem 0;
	background: #ffffff;
}

.vf-steps-wrap {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin-bottom: 3.5rem;
	position: relative;
}

.vf-step-item {
	position: relative;
	padding: 0 1rem;
	text-align: center;
}

.vf-step-item:not(.last)::after {
	content: '';
	position: absolute;
	top: 28px;
	left: 50%;
	width: 100%;
	height: 2px;
	background: linear-gradient(90deg, #bfdbfe, #dbeafe);
	z-index: 0;
}

.vf-step-num-v2 {
	width: 56px;
	height: 56px;
	margin: 0 auto 1.25rem;
	border-radius: 50%;
	background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
	color: #fff;
	font-size: 1.1rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
	position: relative;
	z-index: 1;
}

.vf-step-item h5 {
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--vf-heading);
	margin-bottom: 0.4rem;
}

.vf-step-item p {
	font-size: 0.825rem;
	color: var(--vf-muted);
	line-height: 1.6;
	margin: 0;
}

/* --- Requirements box --- */
.vf-req-v2 {
	background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
	border: 1px solid #dbeafe;
	border-radius: 20px;
	padding: 2rem 2.5rem;
	text-align: left;
}

.vf-req-v2-head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid #dbeafe;
}

.vf-req-v2-head svg {
	color: #244298;
	flex-shrink: 0;
}

.vf-req-v2-head h5 {
	font-weight: 800;
	font-size: 1rem;
	color: var(--vf-heading);
	margin: 0;
}

.vf-req-v2-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.vf-req-v2-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 0.875rem;
	color: #334155;
	padding: 0.55rem 0;
	border-bottom: 1px solid rgba(219, 234, 254, 0.8);
}

.vf-req-v2-list li:last-child {
	border-bottom: none;
}

.vf-req-v2-list li::before {
	content: '';
	width: 18px;
	height: 18px;
	min-width: 18px;
	margin-top: 1px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d4ed8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.801 10A10 10 0 1 1 17 3.335'/%3E%3Cpath d='m9 11 3 3L22 4'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size: 18px 18px;
}

/* --- Section 3: Feature Cards --- */
.vf-features-v2 {
	background: ##F4F6F7;
	padding: 4.5rem 0 5rem;
}

.vf-card-v2 {
	background: #fff;
	border: 1px solid var(--vf-border);
	border-radius: 20px;
	overflow: hidden;
	height: 100%;
	box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	display: flex;
	flex-direction: column;
}

.vf-card-v2:hover {
	transform: translateY(-6px);
	box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
}

.vf-card-accent {
	height: 4px;
	width: 100%;
	flex-shrink: 0;
}

.vf-card-body {
	padding: 2rem 2rem 2.5rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	flex: 1;
}

.vf-icon-v2 {
	width: 62px;
	height: 62px;
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.25rem;
}

.vf-icon-v2 svg { width: 28px; height: 28px; }

.vf-icon-blue  { background: #dbeafe; color: #244298; }
.vf-icon-green { background: #d1fae5; color: #065f46; }
.vf-icon-amber { background: #fef3c7; color: #92400e; }

.vf-accent-blue  { background: linear-gradient(90deg, #1e3a8a, #3b82f6); }
.vf-accent-green { background: linear-gradient(90deg, #065f46, #10b981); }
.vf-accent-amber { background: linear-gradient(90deg, #92400e, #f59e0b); }

.vf-card-v2 h5 {
	font-weight: 700;
	font-size: 1rem;
	color: var(--vf-heading);
	margin-bottom: 0.5rem;
}

.vf-card-v2 p {
	font-size: 0.875rem;
	color: var(--vf-muted);
	line-height: 1.65;
	margin: 0;
}

/* ── Block 3: Data Info Modal ── */

.dim-dialog {
    padding: 12px;
}

.dim-content {
    border: none !important;
    border-radius: 20px !important;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.18) !important;
}

.dim-header {
    background: linear-gradient(135deg, #0d1b4b 0%, #1e3a8a 100%);
    padding: 36px 28px 28px;
    text-align: center;
    color: #fff;
}

.dim-shield-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    margin-bottom: 14px;
    color: #fff;
}

.dim-title {
    font-weight: 700;
    font-size: 1.35rem;
    margin-bottom: 8px;
    color: #fff;
}

.dim-subtitle {
    font-size: 13.5px;
    color: rgba(255,255,255,0.78);
    margin-bottom: 0;
    max-width: 380px;
    margin-inline: auto;
    line-height: 1.55;
}

.dim-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: #eef0f3;
    border-bottom: 1px solid #eef0f3;
}

.dim-feat {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    padding: 16px 20px;
}

.dim-feat-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #eef2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e3a8a;
}

.dim-feat div:last-child {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dim-feat strong {
    font-size: 13px;
    font-weight: 700;
    color: #0d1b4b;
    display: block;
}

.dim-feat span {
    font-size: 11.5px;
    color: #6b7280;
}

.dim-body {
    padding: 22px 28px 8px;
}

.dim-body p {
    font-size: 13.5px;
    color: #4b5563;
    line-height: 1.65;
    margin-bottom: 10px;
}

.dim-ownership {
    background: #f0f9ff;
    border-left: 3px solid #1e3a8a;
    border-radius: 0 8px 8px 0;
    padding: 10px 14px !important;
    font-size: 13px !important;
    color: #0d1b4b !important;
    font-weight: 500;
}

.dim-footer {
    padding: 16px 28px 24px;
}

.dim-close-btn {
    width: 100%;
    background: #1e3a8a;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 13px 20px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
}

.dim-close-btn:hover {
    background: #162d6e;
}

@media (max-width: 480px) {
    .dim-features {
        grid-template-columns: 1fr;
    }

    .dim-header {
        padding: 28px 20px 22px;
    }

    .dim-body {
        padding: 18px 20px 6px;
    }

    .dim-footer {
        padding: 12px 20px 20px;
    }
}
