/*
 Theme Name:   Freeio Child
 Description:  Freeio Child Theme
 Author:       ApusTheme
 Author URI:   https://themeforest.net/user/apustheme
 Template:     freeio
 Version:      1.1.1
 Text Domain:  freeio
*/


/* ===== Child theme features (custom PHP) =====
   Markup for these blocks comes from functions.php, not from the parent theme,
   so there are no theme/Elementor settings for them.
   Site colors and dark-theme overrides are in assets/template.css. */

/* WPML currency switcher in the menu */
.custom-wpml-currency-switcher {
    min-width: 35px !important;
    display: flex !important;
    justify-content: center !important;
}
.custom-wpml-currency-switcher .dropdown-menu { min-width: auto !important; }
.custom-wpml-currency-switcher .dropdown-menu li > a {
    padding: 8px 5px !important;
    min-width: 35px !important;
    text-align: center !important;
}

/* cancel subscription modal */
.cancelSubscriptionModal > div > div {
    max-width: 456px;
    min-height: 358px;
    border-radius: 12px !important;
    border: 1px solid #40366B;
    background: #271D4E;
}
.cancelSubscriptionModal h5 {
    padding-top: 43px;
    font-size: 16px;
    line-height: 21px;
}
.cancelSubscriptionModal .modal-body { max-height: 171px; }
.cancelSubscriptionModal .btn-close {
    width: 20px;
    height: 20px;
    opacity: 1;
    margin: -14px -14px 0 0;
}
.cancelSubscriptionModal button.btn.btn-outline-success {
    width: 220px;
    height: 41px;
    font-size: 11px;
    font-weight: 900;
    line-height: 15px;
    color: #EA0297;
    border: 1px solid #EA0297;
    border-radius: 5px;
}
.cancelSubscriptionModal button.btn.btn-outline-success:hover {
    background: #EA0297;
    color: #FFFFFF;
}

/* dashboard: My Plan */
body.page-template-page-dashboard form.my-plan div.service_listing_types div > div.subwoo-inner { padding: 20px 20px 43px; }
body.page-template-page-dashboard form.my-plan div.service_listing_types div.active > div.subwoo-inner { padding: 20px; }
@media (min-width: 1200px) {
    body.page-template-page-dashboard form.my-plan div.service_listing_types div > div.subwoo-inner { padding: 45px 26px 49px; }
    body.page-template-page-dashboard form.my-plan div.service_listing_types div.active > div.subwoo-inner { padding: 45px 26px 27px; }
}
.service_listing_types .next-charge {
    height: 8px;
    margin-top: 15px;
    font-size: 11px;
    font-weight: 500;
    line-height: 22px;
    text-align: center;
    color: #927EA3;
}

/* My Plan menu icon */
ul.menu_short_profile > li a i.flaticon-my-plan::before,
ul.topmenu-menu > li a i.flaticon-my-plan::before {
    content: url('/wp-content/uploads/2024/12/my-plan-default.svg');
    display: block;
}

ul.menu_short_profile > li.active a i.flaticon-my-plan::before,
ul.topmenu-menu > li.active a i.flaticon-my-plan::before,
ul.topmenu-menu > li:hover > a > i.flaticon-my-plan::before {
    filter: brightness(0) invert(1);
}

/* checkout: payment description */
.payment_box_desc   { color: #927EA3; font-size: 12px; }
.payment_box_desc a { color: #EA0297; text-decoration: underline; }

/* favorites tabs */
.widget-favorite-tabs .freelancer-item .information-right .inner-right { display: none; }
.widget-favorite-tabs .flaticon-delete::before {
    position: absolute;
    top: 10px;
    left: 10px;
    color: #FFFFFF;
}

/* document upload button */
.document-upload__button { padding: 0.65rem 1.9rem !important; }

/* desktop: parent .btn padding is too wide for the dashboard tables/forms */
@media (min-width: 1200px) {
    body .btn {
        padding: 0.67rem 0.9rem;
    }
}
