.settings-container {
    max-width: 600px;
}

.setting-item {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.setting-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.setting-description {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 1rem;
}

.setting-control {
    display: flex;
    gap: 0.5rem;
}

.setting-control .form-input {
    flex-grow: 1;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-primary {
    background-color: #000000;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #333333;
}

.saved-message {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    min-height: 1.25em; /* Prevent layout shift */
}

/* For ARIA live region */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Currency settings styles */
.settings-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.setting-item {
    background-color: #ffffff;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
}

.setting-label {
    font-size: 1.125rem; /* 18px */
    font-weight: 600;
    color: #1e293b;
}

.setting-description {
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 0.25rem;
    margin-bottom: 1rem;
}

.setting-control {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.saved-message {
    display: inline-block;
    margin-top: 0.5rem;
    color: #16a34a; /* Green */
    font-size: 0.875rem;
    font-weight: 500;
}

/* --- NEW: Currency Form Styles --- */
.currency-rates {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.rate-input {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.rate-input label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
}

.rate-input .form-input {
    max-width: 150px;
}

/* For the import and export data from json styles */
.settings-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.setting-item {
    background-color: #ffffff;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
}

.setting-label {
    font-size: 1.125rem; /* 18px */
    font-weight: 600;
    color: #1e293b;
}

.setting-description {
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 0.25rem;
    margin-bottom: 1rem;
}

.setting-control {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap; /* Allow wrapping */
}

.saved-message {
    display: inline-block;
    margin-top: 0.5rem;
    color: #16a34a; /* Green */
    font-size: 0.875rem;
    font-weight: 500;
    width: 100%; /* Take full width to appear on new line */
}

/* Currency Form Styles */
.currency-rates {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.rate-input {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.rate-input label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
}

.rate-input .form-input {
    max-width: 150px;
}



