 .calculator-features {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
    flex-wrap: wrap;
    gap: 20px;
}
#sciout {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 20px auto;
    font-family: 'Segoe UI', system-ui;
    overflow: hidden;
    border: 1px solid #eaeaea;
}
.feature-card {
    flex: 1;
    min-width: 250px;
    background: white;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 3px 10px rgb(0 0 0 / 5%);
}.feature-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
}
.sci-content {
    float: left;
    padding-top: 3px;
    width: 100%;
}

 
#sciInPut {
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    min-height: 1.5rem;
    text-align: right;
    padding: 10px 15px;
    background: #2c3e50;
    border-radius: 8px 8px 0 0;
    margin-bottom: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

#sciOutPut {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 300;
    text-align: right;
    padding: 15px;
    background: #2c3e50;
    border-radius: 0 0 8px 8px;
    margin-bottom: 20px;
    min-height: 3rem;
    overflow: hidden;
    text-overflow: ellipsis;
}
 
.scifunc, .scinm, .sciop, .scieq {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18%;
    height: 48px;
    margin: 5px 1%;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    outline: none;
}

 
.scinm {
    background: #efefef;
    color: #495057;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.scinm:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.scinm:active {
    background: #e0e0e0;
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

 
.sciop {
    background: #f1f4f8;
    color: #2c7da0;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.sciop:hover {
    background: #e2eaf3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.sciop:active {
    background: #d4deeb;
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

 
.scifunc {
    background: #e8f4ff;
    color: #0066cc;
    font-size: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.scifunc:hover {
    background: #d9ecff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.scifunc:active {
    background: #cae4ff;
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
 
.scieq {
    background: #2c7da0;
    color: white;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.scieq:hover {
    background: #01497c;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.scieq:active {
    background: #013a65;
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

 
.scieq.clear {
    background: #ff6b6b;
}

.scieq.clear:hover {
    background: #ff5252;
}

.scieq.clear:active {
    background: #ff3939;
}

 
.scird {
    display: inline-flex;
    background: #e8f4ff;
    border-radius: 8px;
    padding: 6px;
    margin-left: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.scird label {
    color: #0066cc;
    padding: 4px 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.scird input:checked + span {
    background: #2c7da0;
    color: white;
}

 
#scihistory {
    color: #6c757d;
    margin-top: 20px;
    padding: 15px;
    border-top: 1px solid #e0e6ed;
    background: white;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}

 
@media (max-width: 768px) {
    #sciout {
        padding: 2px;
        border-radius: 10px;
    }
    
    .scifunc, .scinm, .sciop, .scieq {
        height: 40px;
        font-size: 1rem;
        border-radius: 6px;
    }
    
    #sciInPut {
        font-size: 0.9rem;
        padding: 8px 12px;
    }
    
    #sciOutPut {
        font-size: 2rem;
        padding: 12px;
    }
    
    .scifunc {
        font-size: 0.9rem;
    }
    
    .sci-content {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .scifunc, .scinm, .sciop, .scieq {
        width: 18%;
        margin: 4px 0.5%;
        font-size: 0.9rem;
    }
    
    #sciInPut {
        font-size: 0.8rem;
    }
    
    #sciOutPut {
        font-size: 1.8rem;
    }
    
    .scifunc {
        font-size: 0.8rem;
    }
}