
.RK_Holder{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Reset / Base */

/* Main Container */
.center_text {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    width: 340px; /* Slightly wider for the toggles */
    text-align: center;
    margin: 20px;
}

h1 {
    margin-top: 0;
    color: #333;
    font-size: 24px;
    margin-bottom: 20px;
}

/* Inputs */
.input-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
label {
    font-weight: bold;
    color: #555;
    font-size: 14px;
}
input {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 140px;
    text-align: right;
    font-size: 16px;
}
input:focus {
    outline: none;
    border-color: #007bff;
}
#Back {
    background-color: #e9ecef;
    font-weight: bold;
    color: #28a745;
}

/* Settings / Toggles */
.settings-header {
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #888;
    text-align: left;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: space-between;
}
.settings-header:hover {
    color: #555;
}

#DenomToggles {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 15px;
    justify-content: center;
    /* Hidden by default if you prefer, or visible */
}

.denom-toggle {
    font-size: 12px;
    padding: 4px 8px;
    border: 1px solid #ddd;
    border-radius: 12px;
    cursor: pointer;
    background: #fff;
    color: #aaa;
    transition: all 0.2s;
    user-select: none;
}

.denom-toggle.active {
    background-color: #e7f5ff;
    color: #007bff;
    border-color: #007bff;
    font-weight: bold;
}

.denom-toggle.active.coin {
    background-color: #fff9db;
    color: #856404;
    border-color: #ffc107;
}

/* Results Breakdown */
#MoneyBack {
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 15px;
    text-align: left;
    font-size: 14px;
    min-height: 20px;
}
.denomination-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    padding: 6px 10px;
    background-color: #f8f9fa;
    border-radius: 4px;
    color: #444;
    animation: fadeIn 0.3s ease-in-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}
.denomination-item.bill {
    border-left: 4px solid #007bff;
}
.denomination-item.coin {
    border-left: 4px solid #ffc107;
}
.count {
    font-weight: bold;
    margin-right: 10px;
}