body {
    font-family: sans-serif;
    background: linear-gradient(to right, #EAD6F6, #D8FAEE);
    color: #333;
}

h1, h2 {
    text-align: center;
    color: #5D3FD3; /* A nice purple */
    margin-bottom: 20px;
}

.input-section, .output-section {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
}

/* Class to hide the output section */
.output-section.hidden {
    display: none;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

input[type="text"],
input[type="url"],
select {
    width: calc(100% - 22px); /* Account for padding and border */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

button {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #5D3FD3; /* Purple */
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 15px;
}

button:hover {
    background-color: #4a33a5; /* Darker purple */
}

/* Style for the output div */
#disclaimerOutput {
    width: calc(100% - 22px);
    max-height: 400px;            /* ✅ Limit height */
    overflow-y: auto;             /* ✅ Enable scroll */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 0.9rem;
    line-height: 1.6;
    background-color: #fff;
    margin-bottom: 15px;

}

/* Style paragraphs and headings within the output div */
#disclaimerOutput h2 {
    text-align: left; /* Align headings left in the output */
    color: #555; /* Darker color for subheadings */
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

#disclaimerOutput p {
    margin-bottom: 15px;
}

#disclaimerOutput p:last-child {
    margin-bottom: 0;
}

.button-group {
    display: flex;
    gap: 15px; /* Space between buttons */
}

.button-group button {
    width: 50%; /* Distribute width equally */
    margin-top: 0; /* Remove top margin from individual buttons */
}

#copyBtn {
    background-color: #28a745; /* Green */
}

#copyBtn:hover {
     background-color: #218838; /* Darker green */
}

#resetBtn.secondary-btn {
    background-color: #6c757d; /* Grey */
}

#resetBtn.secondary-btn:hover {
    background-color: #5a6268; /* Darker grey */
}