body {
    font-family: sans-serif;
    padding: 20px;
    line-height: 1.6;
    font-size: 13px;
}

div {
    margin-bottom: 15px;
}

label {
    display: inline-block;
    width: 80px;
    margin-right: 10px;
}

input[type="text"] {
    padding: 8px;
    width: 250px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.95em;
}

input[type="number"] {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.95em;
    margin-right: 5px;
}

select {
    padding: 8px;
    width: 250px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.95em;
    background-color: white;
}

button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.95em;
    margin-top: 10px;
}

button:hover {
    background-color: #0056b3;
}

#outputArea {
    margin-top: 20px;
    padding: 15px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    min-height: 50px;
    color: #333;
}

.output-container {
    position: relative;
}

#copyBtn {
    margin-left: 10px;
    background-color: #007bff;
}

#copyBtn:hover {
    background-color: #0056b3;
}

#copyBtn.success {
    background-color: #28a745;
}

.input-group {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.input-group div:last-child {
    margin-bottom: 0;
}

.group-title {
    color: #333;
    font-size: 1.1em;
    margin-bottom: 10px;
    margin-top: 20px;
}

.radio-group {
    display: inline-flex;
    gap: 20px;
}

input[type="radio"] {
    display: none;
}

.radio-text {
    position: relative;
    padding-left: 28px;
    cursor: pointer;
}

.radio-text:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 2px solid #007bff;
    border-radius: 50%;
    background-color: white;
    transition: all 0.2s ease;
}

.radio-text:after {
    content: '';
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #007bff;
    transition: all 0.2s ease;
}

input[type="radio"]:checked + .radio-text:after {
    transform: translateY(-50%) scale(1);
}

input[type="radio"]:disabled + .radio-text:before {
    border-color: #ccc;
    background-color: #f5f5f5;
}

input[type="radio"]:disabled + .radio-text {
    color: #999;
    cursor: not-allowed;
}

.radio-label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    width: auto;
    margin-right: 0;
}

radio-text {
    margin-left: 0;
}

.date-separator {
    margin: 0 5px;
    font-size: 0.95em;
}

.location-options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

input[type="radio"]:disabled + .radio-text {
    color: #999;
    cursor: not-allowed;
}

.clear-btn {
    background-color: #dc3545;
    margin-left: 10px;
}

.clear-btn:hover {
    background-color: #c82333;
}

.dialog-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.dialog-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 450px;
    width: 90%;
    text-align: center;
}

.dialog-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.dialog-buttons button {
    min-width: 100px;
    margin: 0;
    flex: 1 1 auto;
}

.dialog-buttons .clear-btn {
    margin: 0;
}

#dialogCompleteBtn, #dialogClearBtn, #dialogClearAllBtn {
    max-width: 150px;
}

#clearAllBtn {
    background-color: #dc3545;
    margin-left: 10px;
}

#clearAllBtn:hover {
    background-color: #c82333;
}

.button-group {
    display: flex;
    gap: 10px;
    margin-bottom: 0;
}

.button-group button {
    margin-top: 0;
}

.restore-btn {
    background-color: #28a745;
    margin-right: 10px;
}

.restore-btn:hover {
    background-color: #218838;
}

.management-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.management-buttons button {
    margin: 0;
    width: fit-content;
}

.form-group {
    display: flex;
    align-items: center;
    gap: 5px;
}

.checkbox-label {
    display: inline-flex;
    align-items: center;
    margin-left: 10px;
    width: auto;
}

.checkbox-text {
    white-space: nowrap;
}

.budget-range {
    display: flex;
    align-items: center;
    gap: 5px;
}

.budget-range input[type="number"] {
    width: 100px;
}

.budget-separator {
    margin: 0 5px;
    font-size: 0.95em;
}
