#dac-form {
    margin: 20px 0;
    padding: 15px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
 
box-shadow: 0 0 1rem 1px #dedede !important;
}

#dac-form input[type="text"] {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-bottom: 10px;
}

#dac-form button,
.dac-register-btn,
.dac-submit-register {
    background-color: #4CAF50;
    color: #fff;
    border: none;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}
#dac-check {
  width: 100%;
  background-color: #04baff !important;
}
#dac-form button:hover,
.dac-register-btn:hover,
.dac-submit-register:hover {
    background-color: #45a049;
}

#dac-result {
    margin-top: 12px;
    font-size: 16px;
    font-weight: 500;
}

.dac-suggestion {
    margin: 10px 0;
}

.dac-suggestion.dac-available {
    color: #2e7d32; /* green */
display: flex;             /* 1. Enable Flexbox layout */
    align-items: center;       /* 2. Vertically center the text and button */
    justify-content: space-between; /* 3. Push the text to the left and the button to the right */
    width: 100%;               /* 4. Ensure the container spans full width for space-between to work */
    padding: 5px 0;            /* Optional: Add a little vertical padding for better spacing */
}

.dac-suggestion.dac-taken {
    color: #777; /* grey */
}
