/* START: University of Tennessee Dental School Tool CSS */

/* FONT IMPORT (Can be removed if font is already on site) */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* MAIN CONTAINER STYLES */
#ut-dental-tool-container {
    --ut-orange: #FF8200;
    --ut-smokey-gray: #58595B;
    --ut-dark-blue: #002D56; /* Accent for premium feel */
    --light-gray: #f7f8fa;
    --white: #FFFFFF;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --border-color: #e0e0e0;

    font-family: 'Poppins', sans-serif;
    background: var(--light-gray);
    border-radius: 16px;
    padding: 20px;
    margin: 20px auto;
    max-width: 1000px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    overflow: hidden; /* Ensures rounded corners are respected by children */
}

/* HEADER SECTION */
.ut-tool-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--ut-orange);
    position: relative;
}

.ut-tool-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--ut-dark-blue);
    margin: 0;
}

.ut-tool-header h3 {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--ut-smokey-gray);
    margin: 5px 0 0;
}

.ut-live-clock {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: var(--ut-dark-blue);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

/* MAIN STATS GRID */
.ut-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* CARD STYLES */
.ut-stat-card {
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.ut-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 45, 86, 0.1);
}

.ut-stat-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ut-dark-blue);
    margin: 0 0 15px 0;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
    display: flex;
    align-items: center;
}

.ut-stat-card h4 i {
    margin-right: 8px;
    color: var(--ut-orange);
}

/* SPECIFIC CARD STYLES */

/* Acceptance Rate Card (main card) */
.ut-acceptance-rate-card {
    grid-column: 1 / -1; /* Span full width on larger screens */
    flex-direction: row;
    align-items: center;
    background: linear-gradient(135deg, var(--ut-dark-blue), #004a8d);
    color: var(--white);
}

.ut-acceptance-rate-card h4 {
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.ut-acceptance-rate-content {
    flex-grow: 1;
    text-align: center;
}

.ut-acceptance-rate-value {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--ut-orange);
    margin: 10px 0;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.2);
}

.ut-acceptance-rate-value sup {
    font-size: 2.5rem;
    font-weight: 600;
}

.ut-acceptance-rate-card p {
    margin: 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Admissions Profile Card */
.ut-admissions-profile .ut-profile-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border-color);
}
.ut-admissions-profile .ut-profile-item:last-child {
    border-bottom: none;
}
.ut-admissions-profile .ut-profile-item span {
    font-weight: 600;
    color: var(--ut-smokey-gray);
}
.ut-admissions-profile .ut-profile-value {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--ut-orange);
}

/* TABS STYLES (for Geo and Tuition) */
.ut-tabs {
    display: flex;
    margin-bottom: 15px;
    border-radius: 8px;
    background: var(--light-gray);
    padding: 5px;
}

.ut-tab-button {
    flex: 1;
    padding: 10px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-weight: 600;
    color: var(--ut-smokey-gray);
    border-radius: 6px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.ut-tab-button.active {
    background-color: var(--ut-orange);
    color: var(--white);
    box-shadow: 0 2px 5px rgba(255, 130, 0, 0.4);
}

.ut-tab-content {
    display: none;
}

.ut-tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Geo Card specific */
.ut-geo-content p {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--ut-dark-blue);
    margin: 10px 0 5px;
    text-align: center;
}
.ut-geo-content span {
    display: block;
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Tuition Card specific */
.ut-tuition-cost {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--ut-orange);
    margin: 10px 0 5px;
    text-align: center;
}
.ut-tuition-cost sup {
    font-size: 1.5rem;
}
.ut-tuition-desc {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Financials Card */
.ut-financials-card .ut-financial-item {
    text-align: center;
    margin-bottom: 20px;
}
.ut-financials-card .ut-financial-item:last-child {
    margin-bottom: 0;
}
.ut-financials-card h5 {
    margin: 0 0 5px 0;
    font-size: 1rem;
    color: var(--ut-smokey-gray);
    font-weight: 400;
}
.ut-financials-card .ut-financial-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--ut-dark-blue);
}

/* FOOTER / DISCLAIMER */
.ut-tool-footer {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 20px;
}
.ut-tool-footer p {
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.6;
}
.ut-tool-footer a {
    color: var(--ut-orange);
    font-weight: 600;
    text-decoration: none;
}
.ut-tool-footer a:hover {
    text-decoration: underline;
}

/* RESPONSIVE DESIGN */
@media (max-width: 900px) {
     .ut-acceptance-rate-card {
        flex-direction: column;
        text-align: center;
    }
     .ut-acceptance-rate-value {
        font-size: 4rem;
    }
     .ut-acceptance-rate-value sup {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    #ut-dental-tool-container {
        padding: 15px;
    }
    .ut-tool-header h2 {
        font-size: 1.8rem;
    }
    .ut-tool-header h3 {
        font-size: 1rem;
    }
    .ut-live-clock {
        display: none; /* Hide clock on smaller screens to save space */
    }
}

@media (max-width: 480px) {
    .ut-stats-grid {
        grid-template-columns: 1fr; /* Single column layout */
    }
     .ut-tool-header {
        text-align: left;
    }
}

/* FontAwesome Icons - Embedded as SVG for self-containment */
.fa {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    fill: currentColor;
}
.fa-university { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M496 128v16a8 8 0 0 1-8 8h-24v12c0 6.627-5.373 12-12 12H60c-6.627 0-12-5.373-12-12v-12H24a8 8 0 0 1-8-8v-16a8 8 0 0 1 8-8h24v-12c0-6.627 5.373-12 12-12h396c6.627 0 12 5.373 12 12v12h24a8 8 0 0 1 8 8zM24 192h464v192c0 6.627-5.373 12-12 12H36c-6.627 0-12-5.373-12-12V192zm48 32v128h32V224h-32zm96 0v128h32V224h-32zm96 0v128h32V224h-32zm96 0v128h32V224h-32zM256 16c-17.673 0-32 14.327-32 32s14.327 32 32 32 32-14.327 32-32-14.327-32-32-32z'/%3E%3C/svg%3E"); }
.fa-users { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 512'%3E%3Cpath d='M96 224c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm448 0c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm-256 0c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zM0 480c0-26.5 21.5-48 48-48h288c26.5 0 48 21.5 48 48v32H0v-32zm640 32v-32c0-26.5-21.5-48-48-48H336c-26.5 0-48 21.5-48 48v32h352z'/%3E%3C/svg%3E"); }
.fa-map-marker-alt { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M172.268 501.67C26.97 291.031 0 269.413 0 192 0 85.961 85.961 0 192 0s192 85.961 192 192c0 77.413-26.97 99.031-172.268 309.67a24 24 0 0 1-35.464 0zM192 272c44.183 0 80-35.817 80-80s-35.817-80-80-80-80 35.817-80 80 35.817 80 80 80z'/%3E%3C/svg%3E"); }
.fa-dollar-sign { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 288 512'%3E%3Cpath d='M209.2 233.4l-108-31.6C88.7 198.2 80 186.5 80 173.5c0-16.3 13.2-29.5 29.5-29.5h66.3c12.2 0 24.2-6.4 30.8-17.2l12.8-21.2c6.9-11.5 20.9-15.8 32.7-9.3s15.8 20.9 9.3 32.7L240 162.2c-7.9 13.1-22.1 21.8-37.5 21.8h-66.3c-2.8 0-5.3 1.1-7.1 2.9-1.8 1.8-2.9 4.3-2.9 7.1s1.1 5.3 2.9 7.1c1.9 1.8 4.4 2.9 7.1 2.9h66.3c12.2 0 24.2 6.4 30.8 17.2l12.8 21.2c6.9 11.5 20.9 15.8 32.7 9.3s15.8-20.9 9.3-32.7L240 234c-7.9-13.1-22.1-21.8-37.5-21.8H95.8c-32.5 0-59.1 26.6-59.1 59.1 0 25.4 15.9 47.7 39.3 55.5l108 31.6c12.5 3.7 21.7 15.3 21.7 28.3 0 16.3-13.2 29.5-29.5 29.5h-66.3c-12.2 0-24.2-6.4-30.8-17.2l-12.8-21.2c-6.9-11.5-20.9-15.8-32.7-9.3s-15.8 20.9-9.3 32.7L48 349.8c7.9 13.1 22.1 21.8 37.5 21.8h66.3c32.5 0 59.1-26.6 59.1-59.1 0-25.4-15.9-47.7-39.3-55.5z'/%3E%3C/svg%3E"); }
.fa-piggy-bank { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath d='M480 256c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm-64-80c0-17.7-14.3-32-32-32s-32 14.3-32 32 14.3 32 32 32 32-14.3 32-32zm-256 32c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm96 80c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm-128-64c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm320 64c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zM128 160c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm256 160c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zM144 480h288c17.7 0 32-14.3 32-32V304c0-17.7-14.3-32-32-32h-16v-64h16c17.7 0 32-14.3 32-32s-14.3-32-32-32h-48.4c-13.2-58.3-64.8-103.6-124.6-103.6s-111.4 45.3-124.6 103.6H96c-17.7 0-32 14.3-32 32s14.3 32 32 32h16v64H96c-17.7 0-32 14.3-32 32v144c0 17.7 14.3 32 32 32z'/%3E%3C/svg%3E"); }

/* END: University of Tennessee Dental School Tool CSS */