.main-panel {
    display: grid;
    height: 100vh;
    place-items: center;
}

#registration-box {
    text-align: left;
    max-width: 80%;
    margin: 20px auto;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    border: 2px solid #FFD700;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    max-height: calc(100vh - 160px); /* Allows for scrolling within the panel */
    box-sizing: border-box;
}

#registration-box h2 {
    text-align: center;
    font-size: 1.8em;
}

.error-message {
    background-color: #f2dede;
    color: #a94442;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ebccd1;
    border-radius: 4px;
}

/* Input Styles */
.input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.small-input {
    width: 22%;
    margin-right: 2%;
    display: inline-block;
}

.birthday-form {
    margin-bottom: 20px;
}

.clear {
    clear: both;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.button {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #3498db;
    color: white;
    padding: 10px 20px;
    text-align: center;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #2980b9;
    text-decoration: none;
}

.register-button {
    background-color: goldenrod;
}