body {
    font-family: 'Arial', sans-serif;
    background: #eef2f3;
    margin: 0;
    padding: 0;
}

.container {
    width: 430px;
    margin: 50px auto;
    padding: 30px 25px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}

.container:hover {
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #333;
    font-size: 24px;
}

label {
    display: block;
    margin-top: 18px;
    font-weight: 600;
    font-size: 14px;
    color: #444;
}

input, select {
    width: 100%;
    padding: 12px 2px;
    margin-top: 6px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 14px;
    background-color: #fafafa;
    transition: all 0.25s ease-in-out;
    outline: none;
}

input:focus, select:focus {
    border-color: #007bff;
    box-shadow: 0 0 8px rgba(0,123,255,0.3);
    background-color: #fff;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="%23007bff" d="M2 4l4 4 4-4z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px 12px;
    padding-right: 40px;
    cursor: pointer;
}

button {
    width: 100%;
    padding: 16px;
    margin-top: 30px;
    background: linear-gradient(to right, #007bff, #0056d2);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

button:hover {
    background: linear-gradient(to right, #0056d2, #003c99);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

button:active {
    transform: translateY(0);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

#responseMsg {
    margin-top: 22px;
    text-align: center;
    font-weight: 600;
    color: #007bff;
    font-size: 15px;
}
/* MULTI-SELECT EXACT MATCH FOR NORMAL SELECT */
.tag-container {
    width: 100%;
    padding: 12px 2px;
    margin-top: 6px;
    border-radius: 10px;
    border: 1px solid #ccc;
    background-color: #fafafa;
    font-size: 14px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    min-height: 44px; 
    transition: all 0.25s ease-in-out;
    position: relative;
    box-sizing: border-box;
}

/* FOCUS effect same as select */
.tag-container.active {
    border-color: #007bff;
    box-shadow: 0 0 8px rgba(0,123,255,0.3);
    background-color: #fff;
}

/* Tags */
.tag {
    background: #007bff;
    color: #fff;
    padding: 4px 10px;
    border-radius: 8px;
    margin-right: 5px;
    margin-bottom: 4px;
    font-size: 13px;
    display: flex;
    align-items: center;
}

.remove-tag {
    margin-left: 6px;
    cursor: pointer;
    font-weight: bold;
}

/* Text area like select placeholder */
.dropdown-btn {
    font-size: 14px;
    color: #000;
    flex: 1;
    height: 20px;
    display: flex;
    align-items: center;
}

/* Dropdown list */
.options-container {
    position: absolute;
    top: calc(100% - 2px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 0 0 10px 10px;
    border-top: none;
    max-height: 160px;
    overflow-y: auto;
    z-index: 10;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* Each option */
.option {
    padding: 12px;
    font-size: 14px;
    background: #fff;
}

.option:hover {
    background: #eef2f3;
}

/* Arrow same as normal select */
.tag-container::after {
    content: "";
    position: absolute;
    right: 14px;
    width: 12px;
    height: 12px;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="%23007bff" d="M2 4l4 4 4-4z"/></svg>');
    background-repeat: no-repeat;
    background-size: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.required {
    color: rgba(255, 0, 0, 0.854);
    font-weight: bold;
}
