.form__input {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 16px;
    border: 1px solid #e0e0e0;
    transition: border-color 0.3s ease;
    font-size: 1.111rem;
    margin-bottom: 10px;
    border-bottom-left-radius: 5px;
    background: rgba(111,101,101,0.15);
    color: var(--black);
    font-weight: 700;
    box-sizing: border-box;
}
.form__input:focus {
    outline: none;
    border-color: var(--accent);
}
.form__input::placeholder { 
    color: rgba(155, 155, 155, 0.75);
    font-size: 0.75rem;
    letter-spacing: 3px;
    opacity: 1;
}
input:focus, textarea:focus {
    transition: 0.3s;
}
.medmd-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: transparent;
    font-family: var(--font-family);
}
.medmd-card {
    background: rgba(0, 0, 0, 0.5);
    padding: 80px 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    width: 100%;
    border: solid 1px #222222;
    max-width: 450px;
    position: relative;
    overflow: hidden;
}
.step-container {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}
.form__label {
    font-size: 0.7rem;
    color: var(--text);
    letter-spacing: 3px;
}
.step-container.active {
    display: block;
}


.metric-card {
    border: 1px solid #333;
    padding: 10px;
    text-align: center;
}
.metric-value { color: var(--accent); font-size: 1.2rem; display: block; }
.metric-label { font-size: 0.6rem; opacity: 0.6; text-transform: uppercase; }

p#status-msg{font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase; opacity: 0.6;}

#results-section {
    min-height: 100vh;
    overflow-y: none;
    padding: 40px;
    display: flex;
    flex-direction: column;
}
#results-section article {
    min-height: 100vh;
    overflow-y: none;
    max-width: 900px;
    margin: auto;
    width: 100%;
    padding: 40px;
}

#results-section {
    min-height: 100vh;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

#results-section article {
    max-width: 900px; 
    margin: auto;   
    width: 100%;
}

#result-display {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); 
    gap: 20px;
    margin-top: 30px;
    opacity: 0.75;
}


#score-gauge {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid #333;
    padding: clamp(20px, 5vw, 40px);
    background: radial-gradient(circle at top right, #111, #000);
}

#sentinel-score-value {
    font-size: clamp(3rem, 10vw, 4.5rem); 
    font-weight: 800;
    line-height: 1;
    color: var(--accent);
}

#insights-container {
    border: 1px solid #333;
    padding: 20px;
    background: #050505;
}


.result-visual {
    grid-column: 1 / -1; 
    margin-top: 10px;
}

#plot-container {
    width: 100%;
    border: 1px solid #222;
    background: #100c0c;
    position: relative;
    overflow: hidden; 
}

#sentinel-plot {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain; 
    opacity: 0.9;
}

#score-gauge span {
    font-size: 0.6rem; letter-spacing: 2px; color: #888; display: block; margin-bottom: 5px;
}
#sentinel-score-value {
    font-size: clamp(3rem, 10vw, 4.5rem);
    font-weight: 800;
    line-height: 1;
    color: var(--accent);
}
#sentinel-status-badge {display: inline-block; padding: 5px 15px; border-radius: 50px; font-size: 0.7rem; font-weight: 700; margin-top: 15px; border: 1px solid #333;}
#insights-container {
    border: 1px solid #333;
    padding: 20px;
    background: #050505;
}
#insights-container h3 {font-size: 0.7rem; letter-spacing: 2px; color: var(--accent); margin-bottom: 15px; border-bottom: 1px solid #222; padding-bottom: 10px;}
#insights-list {font-size: 0.85rem; line-height: 1.6; color: #A1A1A1; font-style: italic;}
.result-visual {
    grid-column: 1 / -1; 
    margin-top: 10px;
}
#plot-container {
    width: 100%;
    border: 1px solid #222;
    padding: 10px;
    background: #100c0c;
    position: relative;
    overflow: hidden; 
}

#sentinel-plot {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    opacity: 0.9;
}
#plot-container div {position: relative; top: 10px; right: 10px; font-size: 10px; color: #444;}
#sentinel-plot {width: 100%; height: auto; display: block; opacity: 0.9;}

#sentinel-metrics {display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px;}
#footer-results {
    margin-top: 40px;
    border-top: 1px solid #222;
    padding-top: 20px;
    text-align: center;
    padding-bottom: 40px;
}

#footer-results p {
    font-size: 0.7rem;
    opacity: 0.5;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}