/* Full-width wrapper to center the form */
#namesprintWrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
/*    min-height: 100vh; /* Ensure it centers vertically */
    padding: 20px 0;
}

/* Center container inside wrapper */
#namesprintFormContainer {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Form Styling */
#namesprintForm {
    width: 100%;
    padding: 20px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
}

/* Label Styling */
#namesprintForm label {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
    color: #333;
}

/* Input Styling */
#namesprintForm input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
    margin-bottom: 15px;
}

#namesprintForm input:focus {
    border-color: #0073e6;
    box-shadow: 0px 0px 5px rgba(0, 115, 230, 0.5);
    outline: none;
}

/* Button Styling */
#namesprintForm button {
    background: #0073e6;
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    margin-top: 10px;
}

#namesprintForm button:hover {
    background: #005bb5;
}

#namesprintForm button:disabled {
    background-color: #888; /* Grey background */
    color: #ccc; /* Light grey text */
    cursor: not-allowed; /* Change cursor to indicate disabled */
    opacity: 0.7; /* Slightly faded look */
}

/* Response Container (No Background) */
#response-container {
    width: 100%;
    max-width: 100vw;
    margin-top: 20px;
    padding: 15px;
    font-size: 16px;
    border-radius: 5px;
    box-shadow: none;
    background: none; /* Removes the background */
}

/* Ensure response text is visible */
#response-container ul {
    list-style: none; /* Removes bullets */
    padding: 0;
    margin: 0;
}

#response-container li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.1); /* Slight background for each item */
    padding: 10px;
    margin: 5px 0;
    border-radius: 5px;
}

#response-container li a {
    text-decoration: none;
    background: #007bff; /* Blue button */
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 14px;
    transition: background 0.3s;
}

#response-container li a:hover {
    background: #0056b3; /* Darker blue on hover */
}

/* Responsive Design */
@media (max-width: 768px) {
    #namesprintFormContainer {
        max-width: 95%;
    }

    #response-container {
        width: 90%;
    }
}
