/*
 Theme Name:   Hello Elementor Child
 Theme URI:    https://prayingbusiness.com/
 Description:  Child theme for Hello Elementor
 Author:       daynadmin
 Author URI:   https://prayingbusiness.com/
 Template:     hello-elementor
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  hello-elementor-child
*/
/* Remove bullets & center all tab buttons */
.elementor-shortcode ul.wpuf-dashboard-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

/* Tab container spacing */
.elementor-shortcode .wpuf-menu-item {
    display: inline-block;
    margin: 0 20px 20px;
}

/* General style for all WPUF dashboard tabs */
.elementor-shortcode .wpuf-menu-item a {
    background-color: #0076B6; /* blue background */
    color: white;               /* white text */
    font-size: 24px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;           /* semi-bold */
    padding: 14px 40px;         /* longer button */
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease-in-out;
}

/* Hover grow effect */
.elementor-shortcode .wpuf-menu-item a:hover {
    transform: scale(1.05);
    background-color: #00639a; /* slightly darker blue */
}

/* Active tab – background white, text blue */
.elementor-shortcode .wpuf-menu-item.active a {
    background-color: #fff !important;   /* force white background */
    color: #0076B6 !important;           /* force blue text */
      border: 2px solid #0076B6;           /* optional: add border so button stays defined */
}

/* Optional: Keep per-tab selectors in case you want to target them later */
.elementor-shortcode .wpuf-menu-item.post a,
.elementor-shortcode .wpuf-menu-item.edit-profile a,
.elementor-shortcode .wpuf-menu-item.submit-post a {
    background-color: #0076B6;
    color: white;
}
/* ===========================
   GLOBAL BOX-SIZING
   =========================== */
.wpuf-user-list-table *,
.wpuf-user-list-table *::before,
.wpuf-user-list-table *::after,
.wpuf-profile-page-container *,
.wpuf-profile-page-container *::before,
.wpuf-profile-page-container *::after {
    box-sizing: border-box;
}

/* ===========================
   USER LISTING GRID & WRAPPER
   =========================== */
.wpuf-user-list-table {
    margin: 20px 0 !important;
    padding: 0 !important;
}

.wpuf-user-lists {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    margin: 20px 0 !important;
    padding: 0 !important;
}

/* Each user card */
.wpuf-ud-user-circle-object,
.wpuf-ud-user-card {
    flex: 1 1 calc(25% - 20px);
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 15px;
    background: #fff;
    text-align: center;
    border: none; /* remove secondary border */
  flex-shrink: 0;
}

/* AVATAR */
.wpuf-ud-user-card .wpuf-ud-avatar img,
.wpuf-ud-user-circle-object .image img {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    display: inline-block;
}

/* NAME & META */
.wpuf-ud-user-card .wpuf-ud-user-name,
.wpuf-ud-user-details .user-name {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #324A6D;
    margin: 5px 0 8px;
}

.wpuf-ud-user-card .wpuf-ud-meta,
.wpuf-ud-user-details p {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #324A6D;
    margin: 2px 0;
}

/* VIEW PROFILE BUTTON */
.wpuf-ud-user-view-details .wpuf-btn,
.wpuf-ud-user-card .wpuf-ud-user-view-details a.wpuf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #fff !important;
    background-color: #0076B6;
    text-decoration: none !important;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: transform 0.18s ease, background-color 0.18s ease;
    margin-top: 10px;
}

.wpuf-ud-user-view-details .wpuf-btn:hover,
.wpuf-ud-user-card .wpuf-ud-user-view-details a.wpuf-btn:hover {
    transform: scale(1.03);
    background-color: #005177;
}

/* ===========================
   PROFILE PAGE / DASHBOARD
   =========================== */
.wpuf-profile-page-container,
.wpuf-user-profile {
    margin: 30px 0 !important;
    padding: 20px !important;
}

.wpuf-profile-page-container li,
.wpuf-user-profile li {
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    /* Stack cards vertically */
    .wpuf-user-lists {
        display: flex;
        flex-direction: column;
        align-items: center; /* center cards horizontally */
        overflow-x: hidden; /* remove horizontal scroll */
    }

    .wpuf-user-lists .wpuf-ud-user-circle-object {
        flex: 1 1 100% !important;
        max-width: 100% !important;
        margin: 0 0 20px; /* spacing between cards */
        box-sizing: border-box;
    }

    .wpuf-user-lists .wpuf-ud-user-card {
        width: 100% !important;
        padding: 15px; /* optional padding inside card */
        box-sizing: border-box;
    }
}
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
    }

    .wpuf-user-lists {
        width: 100vw; /* viewport width */
        max-width: 100vw; /* prevent exceeding viewport */
        padding: 0 10px; /* optional: some side padding */
        box-sizing: border-box;
    }

    .wpuf-user-lists .wpuf-ud-user-circle-object {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 20px; /* vertical spacing */
    }
}
/* ===========================
   SEARCH & FILTER STYLING
   =========================== */
.wpuf-user-list-search-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    color: #324A6D;
    margin-bottom: 30px;
}
.wpuf-user-list-search-form label {
    font-weight: bold;
    color: #324A6D;
    margin-right: 5px;
    font-size: 18px;
    white-space: nowrap;
}

.wpuf-user-list-search-form .search-area,
.wpuf-user-list-search-form .sorting-area {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.wpuf-user-list-search-form input[type="text"],
.wpuf-user-list-search-form select,
.wpuf-user-list-search-form input[type="submit"],
.wpuf-user-list-search-form input[type="reset"],
.wpuf-user-list-search-form button.search-btn {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    height: 45px;
    padding: 0 12px;
    border: 2px solid #0076B6;
    border-radius: 50px;
    background-color: #fff;
    color: #324A6D;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.wpuf-user-list-search-form input[type="submit"],
.wpuf-user-list-search-form input[type="reset"],
.wpuf-user-list-search-form button.search-btn {
    color: #fff;
    background-color: #0076B6;
    border: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.wpuf-user-list-search-form input[type="submit"]:hover,
.wpuf-user-list-search-form input[type="reset"]:hover,
.wpuf-user-list-search-form button.search-btn:hover {
    background-color: #005a8c;
}

/* Mobile search adjustments */
@media (max-width: 768px) {
    .wpuf-user-list-search-form .search-area,
    .wpuf-user-list-search-form .sorting-area {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .wpuf-user-list-search-form input[type="text"],
    .wpuf-user-list-search-form select,
    .wpuf-user-list-search-form input[type="submit"],
    .wpuf-user-list-search-form input[type="reset"],
    .wpuf-user-list-search-form button.search-btn {
        width: 100%;
        font-size: 16px;
        height: 40px;
    }

    .wpuf-user-list-search-form label {
        text-align: center;
        font-size: 16px;
    }
}
/* ===========================
   WPUF FORMS & DASHBOARD ELEMENTS
   =========================== */
.wpuf-form label {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    color: #324A6D;
    display: block;
    margin-bottom: 8px;
}

.wpuf-form input[type="text"],
.wpuf-form input[type="email"],
.wpuf-form input[type="password"],
.wpuf-form input[type="number"],
.wpuf-form textarea,
.wpuf-form select {
    width: 100%;
    padding: 14px 18px;
    font-size: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-bottom: 18px;
}

.wpuf-form input[type="submit"],
.wpuf-form button,
.wpuf-submit-button {
    display: block;
    margin: 20px auto !important;
    padding: 15px 30px !important;
    font-size: 24px !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700 !important;
    background-color: #0076B6 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50px !important;
    cursor: pointer !important;
    transition: transform 0.2s ease, background-color 0.2s ease !important;
}

.wpuf-form input[type="submit"]:hover,
.wpuf-form button:hover,
.wpuf-submit-button:hover {
    transform: scale(1.05) !important;
    background-color: #005f8f !important;
}

/* Responsive forms */
@media (max-width: 1024px) {
    .wpuf-form input,
    .wpuf-form textarea,
    .wpuf-form select,
    .wpuf-form button,
    .wpuf-submit-button {
        font-size: 18px !important;
        padding: 12px 16px !important;
    }
}

@media (max-width: 768px) {
    .wpuf-form input,
    .wpuf-form textarea,
    .wpuf-form select,
    .wpuf-form button,
    .wpuf-submit-button {
        font-size: 16px !important;
        padding: 10px 14px !important;
    }
}

/* Base button style */
.mce-btn button {
    font-family: 'Poppins', sans-serif !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    background-color: #0076B6 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 8px 14px !important;
    cursor: pointer !important;
    transition: transform 0.2s ease, background-color 0.2s ease !important;
}

/* Hover / Active state */
.mce-btn:hover button,
.mce-btn:focus button,
.mce-btn.mce-active button {
    background-color: #005f8f !important;
    transform: scale(1.05) !important;
    outline: none !important;
}

/* Icon inside the button */
.mce-btn button i {
    color: #fff !important;
    font-size: 20px !important;
}

/* Optional: remove default TinyMCE grey borders */
.mce-btn {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

body#tinymce.wp-editor {
    font-family: 'Poppins', sans-serif !important;
    font-size: 20px !important;
    line-height: 1.6 !important;
    color: #324A6D !important;
    padding: 16px !important;
    box-sizing: border-box !important;
}

/* Tablet */
@media (max-width: 1024px) {
    body#tinymce.wp-editor {
        font-size: 18px !important;
        padding: 14px !important;
    }
}

/* Mobile */
@media (max-width: 768px) {
    body#tinymce.wp-editor {
        font-size: 16px !important;
        padding: 12px !important;
    }
}

/* Hide TinyMCE toolbar */
.mce-toolbar,
.mce-menubar,
.mce-statusbar {
    display: none !important;
}

/* Target the TinyMCE editor iframe */
#post_content_9095_ifr {
    width: 800px !important;        /* Make it scale full width of container */
    height: 200px !important;       /* Responsive height based on viewport */
    margin: 0 auto !important;     /* Center it */
    display: block !important;
    border-radius: 8px !important; /* Matches your form styling */
    border: 1px solid #ccc !important;
    box-sizing: border-box !important;
}

@media (max-width: 1024px) {
    #post_content_9095_ifr {
        min-height: 200px !important;
        max-width: 95% !important;
    }
}

@media (max-width: 768px) {
    #post_content_9095_ifr {
        min-height: 200px !important;
        max-width: 100% !important;
    }
}

.custom-requests-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-family: 'Poppins', sans-serif !important;
}
.custom-requests-table th {
    background: #0076B6;
    color: #fff;
    padding: 10px;
    font-size: 18px;
    text-align: left;
}
.custom-requests-table td {
    border-bottom: 1px solid #eee;
    padding: 10px;
    vertical-align: top;
    font-size: 16px;
    color: #324A6D;
}
.custom-requests-table .reply-toggle,
.custom-requests-table .send-reply {
    background: #0076B6;
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
}
.custom-requests-table .reply-toggle:hover,
.custom-requests-table .send-reply:hover {
    background: #324A6D;
}
.reply-form {
    margin-top: 8px;
}
.reply-text {
    width: 100%;
    min-height: 60px;
    padding: 8px;
    font-family: 'Poppins', sans-serif;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-bottom: 6px;
}
.custom-requests-table td:first-child,
.custom-requests-table th:first-child {
    width: 120px; /* adjust as needed to fit the full year */
    white-space: nowrap; /* prevents date from breaking */
}
.custom-requests-table td:last-child,
.custom-requests-table th:last-child {
    width: 150px; /* adjust as needed */
    word-wrap: break-word;
    padding-left: 10px; /* extra spacing from edge */
}
/* Back button */
.ud-single-profile-container .btn-back {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    background-color: #0076B6;
    padding: 8px 20px;
    border-radius: 25px;
    text-decoration: none;
    transition: 0.2s ease;
}
.ud-single-profile-container .btn-back:hover {
    background-color: #324A6D;
}
/* Tabs container */
.data-tabs ul {
    display: flex;
    gap: 12px;
    justify-content: center;
    padding: 0;
    margin-bottom: 10px;
    list-style: none;
}

/* Tab links */
.data-tabs ul li a.wp-block-file__button {
    font-family: 'Poppins', sans-serif !important;
    font-size: 24px !important;
    font-weight: bold !important;
    color: #0076B6 !important;
    background: none;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none !important;
    transition: background-color 0.2s, color 0.2s;
    display: inline-block;
}

/* Active tab */
.data-tabs ul li a.wp-block-file__button.active,
.data-tabs ul li a.wp-block-file__button:hover {
    background-color: #0076B6 !important;
    color: #fff !important;
}
/* About Tab Container */
.wpuf-profile-section {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #324A6D;
    background-color: #f9f9f9; /* subtle background to match forms */
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
}

/* About Tab / Profile Container */
.wpuf-profile-section {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #324A6D;
    background-color: #f9f9f9; /* subtle background */
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05); /* optional subtle shadow */
}

/* Section Headings */
.wpuf-profile-section h3.profile-tab-heading,
.wpuf-profile-section h4.builder-section-heading {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: bold;
    color: #324A6D;
    margin-bottom: 15px;
}

/* Make label and value inline */
.wpuf-profile-value {
    display: flex;
    flex-wrap: wrap; /* allows wrapping on small screens */
    align-items: center; /* vertical align label and value */
    margin-bottom: 12px;
}

/* Label styling */
.wpuf-profile-value label.wpuf-ud-profile-label {
    font-size: 18px;
    font-weight: bold;
    color: #0076B6;
    margin-right: 8px; /* space between label and value */
    white-space: nowrap; /* prevents label from wrapping */
}

/* Value styling */
.wpuf-profile-value .field-value,
.wpuf-profile-value span,
.wpuf-profile-value a {
    font-size: 16px;
    color: #324A6D;
    line-height: 1.5;
    word-break: break-word; /* ensures long text wraps nicely */
}

/* Links inside fields */
.wpuf-profile-value a {
    color: #0076B6;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}
.wpuf-profile-value a:hover {
    color: #324A6D;
}

/* Social links (if any) */
.wpuf-profile-value .wpuf-social-list a {
    margin-right: 10px;
    display: inline-block;
    color: #0076B6;
    transition: color 0.2s;
}
.wpuf-profile-value .wpuf-social-list a:hover {
    color: #324A6D;
}

/* Adjust spacing for nested sections */
.wpuf-profile-section .wpuf-profile-section {
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid #e0e0e0;
}

/* Responsive adjustments: stack label above value on small screens */
@media screen and (max-width: 768px) {
    .wpuf-profile-value {
        flex-direction: column;
        align-items: flex-start;
    }
    .wpuf-profile-value label.wpuf-ud-profile-label {
        margin-bottom: 4px;
    }
}
.latest-update {
    margin-top: 10px;
    font-size: 15px;
    color: #0076B6;
    background: #f1f7fc;
    padding: 8px 12px;
    border-radius: 8px;
}
.latest-update strong {
    color: #324A6D;
    margin-right: 6px;
}
/* 🔹 General Meta Fields */
.wpuf-ud-meta {
    margin: 6px 0;
    font-size: 0.95em;
    font-family: 'Poppins', sans-serif;
    color: #324A6D; /* dark navy text */
    line-height: 1.4;
}
/* 🔹 Highlight the label part (before the :) */
.wpuf-ud-meta::before {
    content: attr(data-label) " ";
    font-weight: 600;
    color: #0076B6; /* blue for labels */
}

/* Make the user card (left section) wider on desktop */
.ud-section-one-fourth.short-description {
    flex: 0 0 35%; /* was ~25% */
    max-width: 35%;
}

/* Adjust the right content area accordingly */
.ud-section-three-fourths {
    flex: 0 0 65%; /* was ~75% */
    max-width: 65%;
}

/* Optional: make responsive tweaks */
@media (max-width: 1024px) {
    .ud-section-one-fourth.short-description,
    .ud-section-three-fourths {
        flex: 1 1 100%;
        max-width: 100%;
    }
}
/* User card field labels */
.wpuf-ud-user-card .wpuf-ud-meta strong {
    color: #0076B6;   /* your blue */
    font-weight: bold;
}