@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap');

#fs_connect {
    color: #252525 !important;
}

:root {
    --growth-green: #e8f5e9;
    --growth-red: #ffebee;
    --primary-color: #0073AA;
    --secondary-color: #2F3133;
    --tertiary-color: #808489;
}

#wpbody, 
#wpbody span {
    font-family: "Figtree", serif !important;
}

a:focus {
    box-shadow: none;
}

label {
    font-size: 14px !important;
    color: #505050;
}

td {
    font-size: 13px;
}

h1, h4 {
    margin: 0;
}

.clearfix {
    clear: both;
}

body {
    background: #FFFFFF;
    margin: 0;
    padding: 0;
    height: 100%;
}

#wpcontent {
    padding-left: 0;
}

#wpbody-content {
    padding-bottom: 0;
}

#wpfooter {
    display: none;
}

/* Frame Work */
.yoo-btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    outline: none;
}
  
.yoo-btn-primary {
    background-color: #1a7efb;
    color: #fff;
    border-color: #1a7efb;
}
  
.yoo-btn-primary:hover {
    background-color: #1469d9;
    border-color: #1469d9;
}
  
.yoo-btn-primary:active {
    background-color: #0f59c7;
    border-color: #0f59c7;
}
  
.yoo-btn:focus {
    box-shadow: 0 0 0 3px rgba(26, 126, 251, 0.5);
}  

.yoo-dashboard {
    margin: 10px;
    display: flex;
}

.yoo-menu {
    background: #FAFAFA;
    border-radius: 6px;
    bottom: 7px;
    overflow-y: auto;
    position: fixed;
    top: 40px;
    width: 250px;
    z-index: 99;
}

.yoo-menu-items-container {
    width: 95%;
    margin: 0 auto;
}

.yoo-menu-item {
    display: block;
    text-decoration: none;
    color: #808489;
    padding: 10px;
    margin: 5px 0;
    border-radius: 4px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.yoo-menu-item.disabled {
    opacity: 0.5;
}

.yoo-menu-icon {
    vertical-align: middle;
    margin-right: 10px;
    font-size: 1.5rem;
    transition: color 0.2s ease;
}

.yoo-menu-text {
    vertical-align: middle;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.yoo-menu-item:hover, 
.yoo-menu-item.active {
    color: #1a7efb;
    background-color: #e8f2ff;
}

.yoo-menu-item.yoo-get-pro {
    color: #FFF;
    background: #1a7efb;
}

.yoo-body {
    flex: 1;
    padding: 20px;
    float: none;
    background: #FFFFFF;
    margin-left: 250px;
}

.yoo-menu .yoo-logo {
    margin: 20px 0;
    display: flex;
}

.yoo-menu-pro img {
    vertical-align: middle;
    margin-right: 10px;
    width: 24px;
}

.yoo-menu-pro {
    position: absolute;
    left: 7px;
    right: 7px;
    bottom: 10px;
}

.yoo-coming-soon-chip {
    margin-left: 3px;
    font-size: 10px;
    height: 20px;
}

.yoo-menu-item .yoo-coming-soon-chip {
    float: right;
    margin-right: 25px;
}

.yoo-dashboard-filter {
    margin-bottom: 15px;
}

.yoo-date-range-picker {
    cursor: pointer;
    width: 210px;
}

.yoo-date-range-picker .components-input-base {
    border-radius: 4px;
    line-height: 40px;
}

.yoo-date-range-picker .components-input-control__container {
    padding: 0 4px;
}

.components-input-control__backdrop {
    border-color: #ced4da !important;
}

.yoo-date-range-picker-container {
    position: absolute;
    z-index: 99;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-top: 5px;
    padding-bottom: 10px;
    background-color: #ffffff;
}

.yoo-stats-box {
    border-radius: 7px;
    padding: 15px;
    width: 100%;
}

.yoo-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.yoo-stats h1 {
    font-size: 25px;
    margin: 10px 0 0px 0;
}

.yoo-stats-up {
    background-color: var(--growth-green);
}

.yoo-stats-visitors {
    background-color: #d7ebff;
}

.yoo-stats-views {
    background-color: #e8f2ff;
}

.yoo-stats-online {
    background-color: var(--growth-green);
}

.yoo-stats-purchase {
    background-color: #cbe6a3;
}

.yoo-stats-down {
    background-color: var(--growth-red);
}

.yoo-stats img {
    width: 50px;
    height: auto;
    object-fit: contain;
}

.yoo-stats-text {
    color: #5f5f5f;
}

.yoo-header {
    margin-bottom: 15px;
}

.yoo-screen-header {
    margin-bottom: 15px;
}

.yoo-header p {
    color: #5f5f5f;
}

.yoo-dashboard-logs {
    padding-top: 20px;
}

.yoo-dashboard-cards {
    position: relative;
}

.yoo-dashboard-card-no-results {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.yoo-dashboard-cards .components-card__header,
.yoo-dashboard-cards .components-card__body {
    padding: 15px;
}

/* Pro overlay styles for Dashboard UTM cards */
.yoo-pro-overlay-wrapper {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.yoo-pro-overlay {
    pointer-events: auto;
    background: #fffbe6;
    color: #111827;
    text-align: center;
    max-width: 440px;
    padding: 20px 24px;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(17,24,39,0.08);
}

.yoo-pro-overlay h4 {
    margin-bottom: 8px;
    color: #d97706;
}

.yoo-pro-overlay p {
    margin: 0 0 12px 0;
    color: rgba(17,24,39,0.85);
}

.yoo-btn-primary.yoo-pro-cta {
    background: linear-gradient(180deg,#1a7efb,#1469d9);
    border: none;
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
}

.yoo-dashboard-cards .components-card__header h2,
.yoo-dashboard-cards .components-card__body ul {
    margin: 0;
}


.yoo-search-engines-card,
.yoo-top-referers-card,
.yoo-utm-source-card,
.yoo-utm-medium-card {
    min-height: 320px;
    max-height: 320px;
    overflow-y: auto;
}

.yoo-dashboard-cards .components-card__header {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 2;
    box-shadow: 0 2px 6px -4px rgba(0,0,0,0.08);
}

.yoo-search-engines-card img {
    width: 14px;
    vertical-align: text-top;
    margin-right: 10px;
}

.yoo-search-engines-card tr {
    cursor: pointer;
}

.yoo-search-engines-card td:nth-child(2) {
    text-align: right;
}

.yoo-search-engines-card tr,
.yoo-top-referers-card tr {
    line-height: 25px;
}

.yoo-toast-notification {
    margin-top: 25px;
}

.yoo-dashboard-cards.yoo-dashboard-stats {
    background: #fafafa;
    width: 100%;
    height: 641px;
    border-radius: 7px;
}

.yoo-dashboard-stats-tooltip {
    cursor: pointer;
}

.yoo-top-referers-card tr {
    cursor: pointer;
}

.yoo-dashboard-charts {
    margin-top: 15px;
}

.yoo-dashboard-chart {
    background-color: #fafafa;
    width: 100%;
    border-radius: 7px;
    padding: 25px 25px 25px 0;
    min-height: 350px;
    margin-top: 15px;
}

/* Mantine CSS Overide */
.mantine-Select-input {
    background-color: transparent !important;
}