/* DASHBOARD WIDGET */
.utw-dashboard-pie-section {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin: 25px 0;
}
.utw-dashboard-pie-chart {
    width: 136px;
    height: 136px;
    border-radius: 50%;
    /* The mask cuts a transparent hole in the center */
    -webkit-mask-image: radial-gradient(circle, transparent 42.5px, black 43px);
    mask-image: radial-gradient(circle, transparent 42.5px, black 43px);
}
.utw-dashboard-footer{
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding-top: 2px;
}
#dashboard-widgets h3.utw-dashboard-usage-heading {
    margin-top: 0;
    font-size: 1.2em;
    font-weight:bold;
}


/* Admin Page Tabs */
.nav-tab-wrapper {
    margin-bottom: 20px;
}

/* Admin settings visual reference */
.under-the-weather-visual-reference-container {
	display: flex;
    gap: 25px;
    align-items: flex-start;
	background: #fff;
    border: 1px solid #999;
    border-radius: 5px;
	padding: 10px 22px 15px 22px;
    width: 408px;
}

.under-the-weather-visual-reference-item {
    text-align: center;
}

.under-the-weather-visual-reference-item img {
     width: 80px;
}
.under-the-weather-visual-reference-default-image{
	filter:drop-shadow(1px 2px 3px #555);
}

/* --- Usage Report Chart Styling --- */

.under-the-weather-usage-report {
    display: flex;
    flex-direction: column;
    /*gap: 30px; */
    max-width: 800px;
}

.utw-pie-section{
    display: flex;    
    align-items: center;
    justify-content: space-evenly;
    padding: 30px 50px;
    margin: 0 0 25px;
    border: 1px solid #c3c4c7;
    background: #fff;
}

.utw-pie-stats h3 {
    margin-top: 0;
    font-size: 1.2em;
    font-weight:bold;
}
.utw-pie-stats p {
    font-size: 14px;
    margin: 8px 0;
}
.utw-color-swatch {
    display: inline-block;
    width: 15px;
    height: 15px;
    border-radius: 3px;
    margin-right: 6px;
    vertical-align: middle;
}
.utw-pie-chart {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    /* The mask cuts a transparent hole in the center */
    -webkit-mask-image: radial-gradient(circle, transparent 49.5px, black 50px);
    mask-image: radial-gradient(circle, transparent 49.5px, black 50px);
}

.under-the-weather-chart-container {
    display: flex;    
    justify-content: space-around;
    align-items: flex-end;
    height: 250px;
    padding: 35px 0 10px;
    gap: 10px;
    border: 1px solid #c3c4c7;
    background: #fff;
}

.under-the-weather-chart-day {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    position: relative;
	height: 100%; /* Needed for bars to show */
}

.under-the-weather-chart-bars {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 100%;
    gap: 5px; /* Space between bars */
}

.under-the-weather-chart-bar {
    width: 30px;
    background-color: #9ec2e6;
    border-radius: 3px 3px 0 0;
    transition: height 0.3s ease-in-out;
    position: relative;
}

.under-the-weather-chart-bar.api,.under-the-weather-legend-color.api {
    background-color: #f0ad4e; /* Orange for API hits */
}

.under-the-weather-chart-bar.cache,.under-the-weather-legend-color.cache {
    background-color: #5cb85c; /* Green for Cache hits */
}

.under-the-weather-chart-bar .value {
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    font-weight: bold;
    color: #333;
}

.under-the-weather-chart-day-label {
    margin-top: 12px;
    font-size: 13px;
    color: #555;
}

/* Legend */
.under-the-weather-chart-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    background: #fff;
	border: 1px solid #c3c4c7;
	padding: 8px;
    margin-bottom:25px;
}

.under-the-weather-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.under-the-weather-legend-color {
    width: 15px;
    height: 15px;
    border-radius: 3px;
}

/* Data Table */
.under-the-weather-data-table {
    width: 100%;
    margin: 0 0 25px;
}
.under-the-weather-status-box {
	background: #f9f9f9;
	padding: 15px;
	border-left: 4px solid #0073aa;
	border-top: 1px solid #c3c4c7;
	border-right: 1px solid #c3c4c7;
	border-bottom: 1px solid #c3c4c7;
	margin: 15px 0;
}

/* --- Coordinate Finder --- */

.weather-widget-coordinate-finder-pre{
	 background: #f1f1f1; 
	 border-radius: 4px;
	 padding: 10px;
	 white-space: pre-wrap;
}
.coordinate-finder-red-message{
	color: red;
}
.utw-result-wrapper{
	margin-top:15px
}

/* --- Slider Control Styling --- */

.utw-slider-container {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.utw-slider-wrapper {
    width: 350px;
}

#utw-expiration-slider {
    width: 100%;
    margin: 0;
}

/* Styles for the datalist tick marks */
.utw-slider-wrapper datalist {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0;
    margin-top: 5px;
    color: #50575e;
}

.utw-slider-value svg{
	margin-bottom:-6px
}

/* Saved Message */
.utw-section-save-wrapper {
	padding: 10px 10px 10px 0;
	width: 200px;
	line-height: 1.3;
	font-weight: 600;
	display: inline-block;
	vertical-align: middle;
}
.utw-unsaved-message {
    display: none;
    font-weight: 600;
	display: none; 
	color: #d63638;
}
.utw-expiration-save-wrapper {
   display: flex;
   align-items: center;
}

#utw-min-cache-notice,	
#utw-expiration-save-btn-wrap th {
    display: none;
}

#utw-expiration-save-btn-wrap td {
    padding-left: 0;
}
