﻿/* Base scaling - scales down on smaller screens */
#standardTrackerImage {
    /*transform: scale(1.0);*/
    transform-origin: center center;
    transition: transform 0.3s ease;
}

.standards-tracker-container {
    width: 100%;
    max-width: 230px;
    min-width: 90px;
    margin-top: 10px;
    margin-left: 20px;
    box-sizing: border-box;
}

/* Responsive scaling for different screen sizes */

/* Large screens - maintain full scale */
@media (min-width: 1200px) {
    #standardTrackerImage {
        transform: scale(1.0);
    }

    .standards-tracker-container {
        max-width: 230px;
    }
}

/* Medium screens (tablets) - slightly smaller */
@media (max-width: 1199px) and (min-width: 769px) {
    #standardTrackerImage {
        transform: scale(0.8);
    }

    .standards-tracker-container {
        max-width: 200px;
    }
}

/* Small screens (mobile landscape) - scale down more */
@media (max-width: 768px) and (min-width: 481px) {
    #standardTrackerImage {
        transform: scale(0.6);
    }

    .standards-tracker-container {
        max-width: 150px;
        margin-top: 30px;
        padding: 8px;
    }
}

/* Extra small screens (mobile portrait) - smallest scale */
@media (max-width: 480px) {
    #standardTrackerImage {
        transform: scale(0.8);
    }

    .standards-tracker-container {
        max-width: 120px;
        min-width: 80px;
        margin-top: 20px;
        padding: 5px;
    }
}

/* Very small screens - minimal scale */
/*@media (max-width: 360px) {
    #standardTrackerImage {
        transform: scale(0.65);
    }

    .standards-tracker-container {
        max-width: 100px;
        min-width: 70px;
        margin-top: 15px;
        padding: 3px;
    }
}*/

/* Alternative: Container query approach (if the parent container changes) */
/* Uncomment if you want the tracker to scale based on its container rather than viewport */
/*
@container (max-width: 300px) {
    #standardTrackerImage {
        transform: scale(0.8);
    }
}

@container (max-width: 200px) {
    #standardTrackerImage {
        transform: scale(0.6);
    }
}

--------------------------------------------------
    old css for individual icons
--------------------------------------------------
*//*#standardTrackerImage {
    transform: scale(1.4);
}

.standards-tracker-container {
    width: 100%;
    max-width: 230px;
    min-width: 90px;
        background: linear-gradient(135deg, #1a4d7d 0%, #0d2d4d 100%);
    border-radius: 8px;
    margin-top: 50px;
    margin-bottom: 10px;
    padding: 10px;
    color: white;
    font-family: Arial, sans-serif;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
}
*/
/*.tracker-header {
    font-size: clamp(10px, 3vw, 18px);
    font-weight: bold;
    text-align: center;
    margin-bottom: clamp(10px, 5vw, 30px);
    letter-spacing: clamp(0.5px, 0.2vw, 1px);
    line-height: 1.3;
}

.tracker-stages {
    margin-bottom: clamp(8px, 4vw, 20px);
}

.tracker-stage {
    display: flex;
    align-items: center;
    margin-left: clamp(3px, 2vw, 10px);
    margin-right: clamp(3px, 2vw, 10px);
    transition: all 0.3s ease;
}

.stage-icon {
    width: clamp(25px, 10vw, 50px);
    height: clamp(25px, 10vw, 50px);
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: clamp(2px, 1vw, 3px);
    flex-shrink: 0;
    position: relative;
}

.tracker-stage.active .stage-icon {
    background-color: rgb(98,171,74);
}

.tracker-stage.completed .stage-icon {
    background-color: rgba(99,158,208);
}

.tracker-stage.inactive .stage-icon {
    opacity: 0.5;
}

.stage-icon i {
    font-size: clamp(12px, 5vw, 24px);
    color: white;
}

.stage-label {
    font-size: clamp(8px, 2.5vw, 14px);
    line-height: 1.2;
    font-weight: 500;
    flex: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.tracker-stage.inactive .stage-label {
    opacity: 0.6;
}

.tracker-stage.active .stage-label {
    font-weight: bold;
    max-height: none;
}

.stage-connector {
    width: 2px;
    height: clamp(8px, 3vw, 15px);
    background-color: rgba(99,158,208,.5);
    margin-left: calc(clamp(25px, 10vw, 50px) / 2 + clamp(3px, 2vw, 10px) - 1px);
}

.tracker-status {
    display: flex;
    align-items: flex-start;
    padding: clamp(5px, 2vw, 10px) 2px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    margin-top: clamp(8px, 4vw, 20px);
}

.status-icon {
    width: clamp(25px, 8vw, 40px);
    height: clamp(25px, 8vw, 40px);
    color: rgb(98,171,74);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: clamp(4px, 2vw, 8px);
    flex-shrink: 0;
}

    .status-icon i::before {
        content: "✓";
        font-style: normal;
        font-size: clamp(12px, 5vw, 24px);
        font-weight: bold;
        color: white;
    }

.status-text {
    font-size: clamp(8px, 2.2vw, 12px);
    line-height: 1.3;
}

.status-highlight {
    color: rgb(98,171,74);
    font-weight: bold;
}*/

/* Responsive design for smaller screens */
/*@media (max-width: 768px) {
    .standards-tracker-container {
        padding: clamp(5px, 2vw, 8px);
    }
}

@media (max-width: 480px) {
    .standards-tracker-container {
        min-width: 80px;
        padding: 4px;
    }

    .tracker-header {
        font-size: 10px;
        margin-bottom: 8px;
    }

    .stage-label {
        font-size: 8px;
        line-height: 1.1;
    }

    .status-text {
        font-size: 8px;
        line-height: 1.2;
    }
}

@media (max-width: 360px) {
    .standards-tracker-container {
        min-width: 70px;
        padding: 3px;
    }

    .tracker-header {
        font-size: 9px;
        margin-bottom: 6px;
    }

    .tracker-stage {
        margin-left: 2px;
        margin-right: 2px;
    }
}

.chevron-container {
    width: clamp(10px, 4vw, 20px);
    min-width: 10px;
    flex-shrink: 0;
}

.hide-chevron {
    display: none;
}

.icon-chevron {
    width: 0;
    height: 0;
    border-top: clamp(7px, 2.5vw, 13.5px) solid transparent;
    border-bottom: clamp(7px, 2.5vw, 13.5px) solid transparent;
    border-left: clamp(9px, 3vw, 15px) solid rgb(98,171,74);
    display: inline-block;
}*/

/* SVG Icon Styling */
/*.stage-svg {
    width: 30px;
    height: 30px;
    display: block;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}*/
