/* back designing */
body{
   font-family: 'Inter', sans-serif;
   background-color: #1f2937;
   display: flex;
   align-items: center;
   justify-content: center;
   min-height: 100vh;
   padding: 2rem;
    margin: 0;
}
.calculator-card{
    max-width: 1000px;
    width: 95%;
    background-color: #2c3e50;
    padding: 40px;
}
.main-title{
    font-size: 2.25rem;
    font-weight: 700; /*fat */
    color: #ecf0f1;
    text-align: center;
    margin-bottom: 1 rem;
}
.subtitle{
    color: #bdc3c7;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1rem;
}
.resistor-container{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    margin-bottom: 4rem;
}
.resistor-body{
    background-color: #555e6b;
    height: 40px;
    width: 280px;
    position: relative;
    border-radius: 10px;
    z-index: 7;
}
.lead{
    background-color: #9ca3af;
    height: 3px;
    width: 50px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
}
.lead-left{
    left: -50px;
    border-top-left-radius: 9999px;
    border-bottom-left-radius: 9999px;/*should i add more 9?*/
}
.lead-right{
    right: -50px;
    border-top-right-radius: 9999px;
    border-bottom-right-radius: 9999px;
}

.band{
    height: 40px;
    width: 10px;
    position: absolute;
    top: 0;
    border-radius: 2px;
}
.band1-pos{
    left:40px;
}
.band2-pos{
    left: 80px;
}
.band3-pos{
    left: 120px;
}
.band4-pos{
    right:40px;
}
.controls-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minimax(200px, 1fr));
    gap: 1.5rem; /*benzemaaaaaaaaaaaaaaaaaaaaaa*/
    padding: 0 10px;
}
.input-group{
    display: flex;
    flex-direction: column;
}
.input-label{
    font-size: 0.875rem;
    font-weight: 600; /* not fat */
    color: #bdc3c7;
    margin-bottom: 0.5rem;
}
.input-select{
    padding: 0.75rem;
    background-color: #34495e;
    color: #ecf0f1;
    border: 1px solid #34495e;
    border-radius: 8px;
    appearance: none;
    background-image:  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23bdc3c7'%3E%3Cpath d='M9.293 12.95l-.707.707L13.5 17.5l5.5-5.5-.707-.707L13.5 15.086z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.5em 1.5em;
    cursor: pointer;
}
.input-select:focus{
    outline: none;
    border-color: #3498db;
}
.result-panel{
    background-color: #1abc9c1a;
    margin-top: 2.5rem;
    padding: 1.5rem;
    border: 1px solid #1abc9c33;
    border-radius: 10px;
    text-align: center;
}
.result-title{
    color: #ecf0f1;
    font-size: 1.25rem;
    font-weight: 600;/*not fat aaat alll*/
    margin-bottom: 0.5rem;
}
.result-value{
    color: #2ecc71;
    font-family: 'Courier New', monospace;
    font-size: 2.5rem;
    font-weight: 700;/*little fat */
}
.tolerance-range{
    font-size:0.9rem;
    color: #bdc3c7;
    margin-top: 0.75rem;
}

.bg-color-black { background-color: #000000; }
        .bg-color-brown { background-color: #964b00; }
        .bg-color-red { background-color: #ff0000; }
        .bg-color-orange { background-color: #ffa500; }
        .bg-color-yellow { background-color: #ffff00; }
        .bg-color-green { background-color: #008000; }
        .bg-color-blue { background-color: #0000ff; }
        .bg-color-violet { background-color: #8a2be2; }
        .bg-color-gray { background-color: #808080; }
        .bg-color-white { background-color: #ffffff; }
        .bg-color-gold { background-color: #ffd700; }
        .bg-color-silver { background-color: #c0c0c0; }
        .bg-color-none { background-color: #555e6b; }

        a{
            text-decoration: none;
            color: #ecf0f1;
            position: fixed;
            top: 4.5%;
            left: 24.2%;
        }