/* Decimal/Base Converter Styles */
/* Modern Decimal/Base Converter Styles */
.tool-section {
    max-width: 520px;
    margin: 1.5rem auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 1.3rem 1.1rem 1.5rem 1.1rem;
}
.base-converter-row {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 0.7rem;
    flex-wrap: wrap;
}
.base-converter-col {
    flex: 1 1 160px;
    min-width: 120px;
}
.base-label {
    font-weight: 500;
    margin-bottom: 0.2rem;
    display: block;
}
#inputNumber {
    width: 100%;
    padding: 0.45rem 0.7rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1.05rem;
    margin-top: 0.2rem;
}
#inputBase, #outputBase {
    width: 100%;
    padding: 0.45rem 0.7rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1.05rem;
    margin-top: 0.2rem;
}
.base-convert-btn, .base-clear-btn {
    padding: 0.5rem 1.2rem;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    margin-right: 0.5rem;
    cursor: pointer;
    transition: background 0.2s;
}
.base-convert-btn {
    background: #3d8a59;
    color: #fff;
}
.base-convert-btn:hover {
    background: #77c192;
}
.base-clear-btn {
    background: #bdbdbd;
    color: #fff;
}
.base-clear-btn:hover {
    background: #888;
}
.base-results {
    margin-top: 1.2rem;
    background: #f7f7f7;
    border-radius: 6px;
    padding: 1rem 1.2rem;
}
.base-results h4 {
    margin-bottom: 0.5rem;
}
.base-result-row {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.7rem;
}
.base-all-results {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem 2.2rem;
    margin-top: 0.2rem;
    font-size: 1.01rem;
}
.base-all-results > div {
    min-width: 120px;
}
.base-error {
    margin-top: 0.7rem;
    font-weight: 600;
    color: #d32f2f;
}
.base-info {
    margin-top: 1.2rem;
    font-size: 0.98rem;
    color: #444;
}
.base-info ul {
    margin: 0.3em 0 0 1.2em;
    padding: 0;
}
.base-info li {
    margin-bottom: 0.2em;
}
