/* Global styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Form container */
.form-container {
    background-color: white;
    padding: 40px 40px 20px; /* Added padding-top to fix the issue */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    text-align: center;
    position: relative;
    overflow: visible; /* Prevents clipping */
}

/* Form title */
h2 {
    color: #1abc9c;
    font-size: 2rem;
    margin-bottom: 20px;
    padding-top: 10px; /* Added padding to ensure visibility */
}

/* Form group */
.form-group {
    margin-bottom: 15px;
    text-align: left;
    width: 100%;
}

/* Form labels */
label {
    font-size: 1rem;
    color: #333;
    display: block;
    margin-bottom: 5px;
}

/* Input fields */
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="password"] {
    width: calc(100% - 20px);
    padding: 10px;
    margin: 5px 0 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    background-color: #f9f9f9;
    transition: border 0.3s ease;
    display: block;
}

/* Focus effects on input fields */
input:focus {
    border-color: #1abc9c;
    outline: none;
}

/* Error messages */
span {
    font-size: 0.85rem;
    color: red;
    display: none;
}

/* Next button */
button[type="button"] {
    background-color: #1abc9c;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

/* Disabled button */
button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Button hover effect */
button:not(:disabled):hover {
    background-color: #16a085;
}
