/* Paste this into your WordPress Theme Customizer (Additional CSS) or wrap inside <style> tags */

#uog-acceptance-rate-widget.uog-widget-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, Arial, sans-serif;
    background-color: #fcfcfd;
    border: 1px solid #e4e7ec;
    border-radius: 16px;
    max-width: 1100px;
    margin: 20px auto;
    padding: 24px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
    color: #1d2939;
    box-sizing: border-box;
}

#uog-acceptance-rate-widget * {
    box-sizing: border-box;
}

/* Hero Banner */
.uog-hero-banner {
    background: linear-gradient(135deg, #c20430 0%, #7a001e 100%);
    color: #ffffff;
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.uog-hero-banner::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: radial-gradient(circle at top right, rgba(255,199,44,0.15), transparent 60%);
    pointer-events: none;
}

.uog-hero-badge {
    background-color: #ffc72c;
    color: #1d2939;
    display: inline-block;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 20px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.uog-hero-banner h2 {
    margin: 0 0 8px 0 !important;
    color: #ffffff !important;
    font-size: 30px !important;
    font-weight: 800;
}

.uog-hero-banner p {
    margin: 0 !important;
    font-size: 16px;
    opacity: 0.9;
}

/* Stats Blocks Layout */
.uog-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.uog-stat-card {
    background-color: #ffffff;
    border: 1px solid #eaecf0;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.uog-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.04);
}

.uog-stat-card.primary {
    border-top: 4px solid #c20430;
}

.uog-stat-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.uog-stat-value {
    font-size: 32px;
    font-weight: 800;
    color: #c20430;
    line-height: 1.2;
    margin-bottom: 4px;
}

.uog-stat-label {
    font-weight: 700;
    font-size: 15px;
    color: #344054;
    margin-bottom: 8px;
}

.uog-stat-desc {
    font-size: 13px;
    color: #667085;
    margin: 0 !important;
    line-height: 1.4;
}

/* Twin Panels Columns layout */
.uog-content-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    margin-bottom: 24px;
}

@media (max-width: 850px) {
    .uog-content-layout {
        grid-template-columns: 1fr;
    }
}

.uog-panel {
    background-color: #ffffff;
    border: 1px solid #eaecf0;
    border-radius: 12px;
    padding: 24px;
}

.uog-panel h3 {
    margin: 0 0 4px 0 !important;
    font-size: 20px !important;
    color: #1d2939 !important;
    font-weight: 700;
}

.panel-subtitle {
    font-size: 13px;
    color: #667085;
    margin: 0 0 20px 0 !important;
}

/* Form inputs styling */
.uog-input-group {
    margin-bottom: 18px;
}

.uog-input-group label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #344054;
    margin-bottom: 6px;
}

.uog-input-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    background-color: #ffffff;
    color: #1d2939;
    font-size: 14px;
    outline: none;
    transition: border-color 0.15s;
}

.uog-input-group select:focus {
    border-color: #c20430;
}

/* Range input styling */
.uog-input-group input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    margin: 10px 0;
    background: transparent;
}

.uog-input-group input[type=range]:focus {
    outline: none;
}

.uog-input-group input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 8px;
    cursor: pointer;
    background: #eaecf0;
    border-radius: 4px;
}

.uog-input-group input[type=range]::-webkit-slider-thumb {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #c20430;
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.uog-input-group input[type=range]::-moz-range-track {
    width: 100%;
    height: 8px;
    background: #eaecf0;
    border-radius: 4px;
}

.uog-input-group input[type=range]::-moz-range-thumb {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #c20430;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    border: none;
}

/* Custom Checkbox styles */
.uog-checkbox-group {
    margin: 15px 0;
}

.uog-checkbox-container {
    display: block;
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    font-size: 13.5px;
    color: #475467;
    user-select: none;
}

.uog-checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0; width: 0;
}

.uog-checkmark {
    position: absolute;
    top: 1px; left: 0;
    height: 18px; width: 18px;
    background-color: #f2f4f7;
    border: 1px solid #d0d5dd;
    border-radius: 4px;
}

.uog-checkbox-container:hover input ~ .uog-checkmark {
    background-color: #eaecf0;
}

.uog-checkbox-container input:checked ~ .uog-checkmark {
    background-color: #c20430;
    border-color: #c20430;
}

.uog-checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.uog-checkbox-container input:checked ~ .uog-checkmark:after {
    display: block;
}

.uog-checkbox-container .uog-checkmark:after {
    left: 5px; top: 2px;
    width: 5px; height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Dynamic Results Node styles */
.uog-results-wrapper {
    margin-top: 20px;
    padding: 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.outcome-low { background-color: #fef3f2; border-left: 4px solid #f04438; }
.outcome-medium { background-color: #fffaeb; border-left: 4px solid #f79009; }
.outcome-high { background-color: #f0f9ff; border-left: 4px solid #0086c9; }
.outcome-excellent { background-color: #ecfdf3; border-left: 4px solid #12b76a; }

.uog-result-tier-title {
    font-weight: 700;
    font-size: 15px;
    color: #1d2939;
    margin-bottom: 10px;
}

.uog-progress-container {
    width: 100%;
    height: 8px;
    background-color: rgba(0,0,0,0.06);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.uog-progress-bar {
    height: 100%;
    border-radius: 4px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.outcome-low .uog-progress-bar { background-color: #f04438; }
.outcome-medium .uog-progress-bar { background-color: #f79009; }
.outcome-high .uog-progress-bar { background-color: #0086c9; }
.outcome-excellent .uog-progress-bar { background-color: #12b76a; }

.uog-feedback-para {
    margin: 0 !important;
    font-size: 13.5px;
    line-height: 1.4;
    color: #344054;
}

/* Data Matrix Tables */
.uog-table-responsive {
    overflow-x: auto;
    margin-bottom: 16px;
}

.uog-data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 13.5px;
}

.uog-data-table th, .uog-data-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #eaecf0;
}

.uog-data-table th {
    background-color: #f9fafb;
    color: #475467;
    font-weight: 600;
}

.uog-data-table tbody tr {
    cursor: pointer;
    transition: background-color 0.15s;
}

.uog-data-table tbody tr:hover {
    background-color: #f9fafb;
}

/* Badges styling */
.badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 12px;
}
.badge-critical { background-color: #fef3f2; color: #b42318; }
.badge-high { background-color: #f0f9ff; color: #026aa2; }
.badge-moderate { background-color: #fffaeb; color: #b54708; }
.badge-accessible { background-color: #ecfdf3; color: #027a48; }

.uog-pro-tip {
    background-color: #f9fafb;
    border: 1px dashed #d0d5dd;
    border-radius: 8px;
    padding: 12px;
    font-size: 12.5px;
    color: #475467;
    line-height: 1.4;
}

/* Tabbed Layout Interfaces */
.uog-tab-section {
    background-color: #ffffff;
    border: 1px solid #eaecf0;
    border-radius: 12px;
    overflow: hidden;
}

.uog-tabs-header {
    display: flex;
    background-color: #f9fafb;
    border-bottom: 1px solid #eaecf0;
    overflow-x: auto;
}

.uog-tab-btn {
    background: none;
    border: none;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #667085;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    border-bottom: 2px solid transparent;
}

.uog-tab-btn:hover {
    color: #1d2939;
    background-color: #f2f4f7;
}

.uog-tab-btn.active {
    color: #c20430;
    border-bottom-color: #c20430;
    background-color: #ffffff;
}

.uog-tab-content {
    display: none;
    padding: 20px;
}

.uog-tab-content.active {
    display: block;
}

.uog-tab-content h4 {
    margin: 0 0 10px 0 !important;
    font-size: 16px !important;
    color: #1d2939 !important;
}

.uog-tab-content ul {
    margin: 0 !important;
    padding-left: 20px !important;
}

.uog-tab-content li {
    font-size: 13.5px;
    color: #475467;
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Timeline Layout */
.uog-timeline {
    position: relative;
    padding-left: 20px;
    border-left: 2px solid #eaecf0;
}

.uog-timeline-item {
    position: relative;
    margin-bottom: 15px;
    font-size: 13.5px;
    color: #475467;
}

.uog-timeline-item::before {
    content: '';
    position: absolute;
    left: -26px; top: 4px;
    width: 10px; height: 10px;
    border-radius: 50%;
    background-color: #c20430;
}

.uog-mini-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin-top: 10px;
}

.uog-mini-table td {
    padding: 8px 10px;
    border: 1px solid #eaecf0;
}

.uog-mini-table tr:nth-child(even) {
    background-color: #f9fafb;
}