/* New css for templates */

.mian_video_sec .video_box {
    position: relative;
    width: 100%;
    cursor: pointer;
}


.mian_video_sec .video_placeholder {
    position: relative;
}


.mian_video_sec .video_placeholder img {
    width: 100%;
    display: block;
    border-radius: 8px;
    filter: brightness(0.5);
}

.mian_video_sec .video_placeholder::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.247);
    width: 100%;
    height: 100%;
    border-radius: 8px;

}

.mian_video_sec .play_btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* background: rgba(0,0,0,0.65); */
    color: white;
    font-size: 58px;
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: 0.3s;
}


/* .mian_video_sec .video_box:hover .play_btn {
    background: rgba(0,0,0,0.85);
} */

.mian_video_sec .video_box iframe {
    width: 100%;
    height: 650px;
}



.agile-cart-btn .ast-edd-cart-menu-wrap {
    /* position: relative; */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23002e5f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
        margin-bottom: -6px;

    width: 25px;
    height: 25px;

}

.agile-cart-btn .ast-edd-cart-container .ast-edd-cart-menu-wrap .count::after {
    content: none;
}

.agile-cart-btn .ast-edd-cart-container .ast-edd-cart-menu-wrap .count {
    position: absolute;
    top: -12px;
    right: -18px;
    background-color: #f97317;
    color: white;
    height: 22px;
    width: 22px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: unset;
    min-height: unset;
    line-height: 1;
}




/* ===== Wrapper ===== */
.agile-login {
    /* background: #ffffff; */
    /* font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; */
}

.agile-login .edd_form {
    /* max-width: 420px;
    margin: 0 auto; */
}

/* Hide legend */
.agile-login fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

.agile-login legend {
    display: none;
}

/* ===== Labels ===== */
.agile-login label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #0f172a;
    margin-bottom: 6px;
}

/* ===== Inputs ===== */
.agile-login .edd-input {
    width: 100%;
    height: 48px;
    padding: 0 14px 0 44px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    color: #0f172a;
    background-color: #fff;
    transition: all 0.25s ease;
}

.agile-login .edd-input::placeholder {
    color: #94a3b8;
}

.agile-login .edd-input:focus {
    outline: none;
    border-color: #fb923c;
    box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.15);
}

/* ===== Input Icons (CSS only) ===== */
.agile-login .edd-login-username,
.agile-login .edd-login-password {
    position: relative;
    padding: 0;
    /* margin-bottom: 22px; */
}

.edd_form fieldset>p {
    padding: 0;
}

.agile-login .edd-login-username::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 43px;
    width: 18px;
    height: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E") no-repeat center;
    background-size: 18px;
}

.agile-login .edd-login-password::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 43px;
    width: 18px;
    height: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E") no-repeat center;
    background-size: 18px;
}

/* ===== Remember + Forgot ===== */
.agile-login .edd-login-remember {
    display: flex;
    align-items: center;
    margin: 10px 0 20px;
    font-size: 14px;
}

.agile-login .edd-login-remember input {
    margin-right: 8px;
}

.agile-login .edd-lost-password {
    text-align: right;
    margin-top: 14px;
}

.agile-login .edd-lost-password a {
    font-size: 14px;
    color: #2563eb;
    text-decoration: none;
}

.agile-login .edd-lost-password a:hover {
    text-decoration: underline;
}

/* ===== Submit Button ===== */
.agile-login .edd-submit {
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #fb923c, #f97316);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.agile-login .edd-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.25);
}

.agile-login .edd-submit:active {
    transform: translateY(0);
}



/* lost Password Css */
.entry-content:has(.wp-block-edd-login__lostpassword) #edd_login_form {
    display: none;
}

/* ===== Wrapper ===== */
.wp-block-edd-login__lostpassword {
    max-width: 420px;
    margin: auto;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    min-height: 550px;
    display: flex;
    margin-top: 3rem;
    flex-direction: column;
    justify-content: center;
}

/* ===== Message text ===== */
.wp-block-edd-login__lostpassword .message {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 24px;
    font-size: 14px;
    color: #475569;
}

/* ===== Form groups ===== */
.wp-block-edd-login__lostpassword .edd-blocks-form__group {
    margin-bottom: 20px;
}

/* ===== Labels ===== */
.wp-block-edd-login__lostpassword label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #0f172a;
}

/* ===== Input ===== */
.wp-block-edd-login__lostpassword .edd-input {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    color: #0f172a;
    background-color: #ffffff;
    transition: all 0.25s ease;
}

.wp-block-edd-login__lostpassword .edd-input:focus {
    outline: none;
    border-color: #fb923c;
    box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.15);
}

/* ===== Submit Button ===== */
.wp-block-edd-login__lostpassword .edd-submit {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #fb923c, #f97316);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wp-block-edd-login__lostpassword .edd-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.25);
}

.wp-block-edd-login__lostpassword .edd-submit:active {
    transform: translateY(0);
}

/* ===== Required indicator ===== */
.wp-block-edd-login__lostpassword .edd-required-indicator {
    color: #ef4444;
    margin-left: 4px;
}

/* ===== Remove weird inline hidden field gap ===== */
.wp-block-edd-login__lostpassword input[type="text"][style] {
    display: none !important;
}

/* WP Forms CSS */


.wpforms-container{
    margin: 0 !important;
}
.agile-contact-form .wpforms-container .wpforms-field-name, .agile-contact-form .wpforms-container .wpforms-field-email{
    padding-bottom: 0;
}
.agile-contact-form .wpforms-field .wpforms-field-label {
    padding-bottom: 10px;
    font-weight: 500 !important;
}

.agile-contact-form .wpforms-field-container input {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    color: #000;
    background-color: #f9fafb;
    padding: 8px 12px;
    height: 48px;
}

.agile-contact-form .wpforms-field-container textarea {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    color: #000;
    background-color: #f9fafb;
    padding: 8px 12px;
}
.agile-contact-form .wpforms-submit-container .wpforms-submit{
    text-align: center;
    font-weight: 600;
    width: 100%;
    border-radius: 12px;
    background-color: #075985;
    color: #fff;
    padding: 12px !important;
    margin-top: 10px;
}

.agile-support-form .wpforms-field-container input, .agile-support-form .wpforms-field-container select{
	border: 1px solid #e5e7eb;
    border-radius: 6px;
    color: #000;
    background-color: #fff;
    padding: 8px 12px;
    height: 48px;
}
.agile-support-form .wpforms-field-container textarea{
	border: 1px solid #e5e7eb;
    border-radius: 6px;
    color: #000;
    background-color: #fff;
    padding: 8px 12px;
}

.agile-support-form .wpforms-submit-container .wpforms-submit{
    text-align: center;
    font-weight: 600;
    width: 100%;
    border-radius: 6px;
    background-color: #075985;
    color: #fff;
    padding: 12px !important;
    margin-top: 10px;
}

@media (max-width: 800px) {
    .agile-contact-form .wpforms-container .wpforms-form .wpforms-field-layout .wpforms-field-layout-columns{
        margin: 0;
    }
    .agile-contact-form .wpforms-container .wpforms-form .wpforms-field-layout .wpforms-layout-column{
        padding: 0;
    }
    .agile-contact-form .wpforms-container .wpforms-field-name, .agile-contact-form .wpforms-container .wpforms-field-email{
    padding-bottom: 10px;
}
    .mian_video_sec .video_box iframe {
        width: 100%;
        height: 250px;
    }
}