/* ✅ Global Styles */
body {
    font-family: Arial, sans-serif;
    background: #f4f4f4;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* ✅ Form Container */
.container {
    background: white;
    padding: 20px;
    width: 100%;
    max-width: 700px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

/* ✅ Form Title */
h2 {
    text-align: center;
    color: #333;
}

/* ✅ Form Styles */
form {
    display: flex;
    flex-direction: column;
}

/* ✅ Fieldset for Grouping Sections */
fieldset {
    border: none;
    padding: 15px;
    margin-bottom: 10px;
    background: #fafafa;
    border-radius: 8px;
}

/* ✅ Legend (Title for Each Section) */
legend {
    font-weight: bold;
    color: #444;
    font-size: 16px;
    margin-bottom: 10px;
}

/* ✅ Labels */
label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    color: #555;
}

/* ✅ Input Fields */
input[type="email"],
input[type="date"],
input[type="text"] {
    /* width: 100%; */
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    height: 40px;
}

/* ✅ Textarea */
textarea {
    height: 100px;
    resize: vertical;
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

/* ✅ Two-column layout fix */
.row {
    display: flex;
    gap: 10px;
}

.row div {
    flex: 1;
    display: flex;
    flex-direction: column; /* Ensures label is above input */
}

/* ✅ Labels now properly appear above inputs */
label {
    display: block;
    font-weight: bold;
    color: #555;
    margin-bottom: 5px;
}

/* ✅ Tag Input Field (Issues Selection) */
.tag-input {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    min-height: 40px;
    cursor: text;
    background: white;
}

/* ✅ Individual Tag */
.tag {
    background: #007bff;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    display: flex;
    align-items: center;
}

/* ✅ Remove Button on Tags */
.tag button {
    background: none;
    border: none;
    color: white;
    margin-left: 5px;
    cursor: pointer;
    font-weight: bold;
}

/* ✅ Tag Suggestions */
.suggestions {
    background: white;
    border: 1px solid #ccc;
    position: absolute;
    z-index: 1000;
    width: calc(100% - 20px);
    max-height: 150px;
    overflow-y: auto;
    display: none;
}

.suggestions div {
    padding: 5px;
    cursor: pointer;
}

.suggestions div:hover {
    background: #f0f0f0;
}

/* ✅ Submit Button */
button {
    background: #007bff;
    color: white;
    padding: 12px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    margin-top: 15px;
    transition: 0.3s;
}

button:hover {
    background: #0056b3;
}

.input {
    display: flex;
    flex-direction: column;
}


