/*  */
.ccp-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    overflow: hidden !important;          
    padding: 20px;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif !important;
}
.ccp-overlay.active {
    display: flex !important;
}
/*MODAL */
.ccp-modal {
    background: #ffffff;
    padding: 32px;
    border-radius: 16px;
    max-width: 780px;
    width: 100%;
    max-height: 90vh;                     
    overflow-y: auto;                     
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    animation: ccpFadeIn 0.4s ease-out;
}
/* close icon */
.ccp-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: #000000fa;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s;
}

/**/
.ccp-title {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    color: #000 !important;
    margin-bottom: 28px;
}

.ccp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 20px;
}

.ccp-w100 { grid-column: 1 / -1; }
.ccp-w50 { grid-column: span 1; }

.ccp-field label {
    display: block;
    margin-bottom: 6px;
    font-weight: 400;
    font-size: 16px;
    color: #222 !important;
}
.ccp-field input,
.ccp-field textarea,
.ccp-field select {
    width: 100%;
    padding: 14px;
    border: 1.4px solid #ccc !important;
    border-radius: 10px !important;
    font-size: 14px;
    box-sizing: border-box;
    transition: all 0.3s;
	background: #F8F8FF;
	border-radius: 10px;
}
.ccp-field input:focus,
.ccp-field textarea:focus,
.ccp-field select:focus {
    border-color: #252525;
    box-shadow: 0 0 0 4px rgba(37, 37, 37, 0.1);
    outline: none;
}
.ccp-helper {
    font-size: 14px;
    color: #666;
    margin-top: 6px;
    display: block;
}
.ccp-consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    margin: 20px 0;
    padding: 0 10px;
}
.ccp-extra a
{
	color: blue !important;
}
.ccp-consent input { margin-top: 3px; }
/*  custom */
.sticky-btn-form .ccp-submit-wrap 
{
	text-align: end !important;
}
.ccp-submit-wrap {
    text-align: center;
    margin-top: 30px;
}
.ccp-submit {
    background: #252525 !important;
    color: white !important;
    padding: 8px 26px !important;
    border-radius: 50px !important;
    border: none !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3) !important;
    cursor: pointer;
    transition: all 0.3s !important;
}
.ccp-message {
    margin-top: 20px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
}
.contact-us-form 
{
max-width: 550px;
}
.job-opening-form
{
	max-width: 900px;
}

.job-opening-form .ccp-field.ccp-w100,
.job-opening-form .ccp-w100 {
    position: relative !important;
    padding-top: 70px !important;        
    padding-bottom: 30px !important;
    text-align: center !important;
    border: 2.5px dashed #3333E1 !important;
    border-radius: 16px !important;
    background: linear-gradient(135deg, #f8f8ff 0%, #f0f2ff 100%) !important;
}

/* THE ICON – appears only on the resume upload field */
.job-opening-form .ccp-field.ccp-w100::before,
.job-opening-form .ccp-w100::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 46px;
    background: url('https://aitglobalinc.com/wp-content/uploads/2025/12/upload.png') no-repeat center center;
    background-size: contain;
    pointer-events: none;
}
/* CONTACT US FORM – SUBMIT BUTTON WITH ICON INSIDE */
.contact-page-form .contact-us-submit {
    position: relative !important;
    padding-left: 16px !important;
    padding-right: 34px !important;
    font-weight: 600 !important;
    overflow: hidden;
}

.contact-page-form .contact-us-submit::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 82px;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background: url('https://aitglobalinc.com/wp-content/uploads/2025/12/material-symbols_double-arrow-rounded-2.png') no-repeat center center;
    background-size: contain;
    pointer-events: none;
    transition: all 0.3s ease;
}
.job-opening-form .ccp-field.ccp-w100 input
{
	width: auto;
}
/*mobile */
@media (max-width: 768px)
{
/* 	.ccp-overlay
	{
		padding: 26px;
	} */
    .ccp-grid { grid-template-columns: 1fr; }
    .ccp-modal { 
        padding: 10px; 
        max-height: 100vh;
    }
    .ccp-title { font-size: 18px; }
    .ccp-submit { width: 100%; padding: 8px 14px !important; }
	
	.contact-page-form , .job-opening-form
{
	    max-width: 450px;
}
	.job-opening-form .ccp-field.ccp-w100 input
	{
		width: 80%;
	}
	 
}
/* reCAPTCHA as Grid Field - Centered & Overflow-Proof */
.ccp-field .g-recaptcha {
    display: block !important;
    margin: 16px auto !important;  /* Auto-center horizontally */
    width: 100% !important;
    max-width: 304px !important;  /* Google's native width - fits grid */
    text-align: center;  /* Fallback center */
}

.ccp-field .g-recaptcha iframe {
    display: block !important;
    margin: 0 auto !important;  /* Ensure iframe centers */
    transform: none !important;  /* No scaling needed now - grid constrains it */
}

/* Mobile: Grid already stacks, but add extra breathing room */
@media (max-width: 768px) {
    .ccp-field .g-recaptcha {
        margin: 12px auto !important;
        max-width: 100% !important;  /* Full modal width on tiny screens */
    }
    .ccp-field .g-recaptcha iframe {
        width: 100% !important;
        height: 78px !important;  /* Compact height if needed */
    }
}