/* Base Styling */
html {
    background: linear-gradient(to bottom, #ffe6e6, #fff);
    background-attachment: fixed;
}

body {
    background: transparent;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
display: flex; justify-content: center; align-items: center; min-height: 100vh; align-content: flex-end;
}

/* Homepage Hero Box */
.hero-container {
    text-align: center;
    background-color: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.title {
    font-size: 36px;
    font-weight: bold;
    color: #b30059;
    margin-bottom: 30px;
}

/* Buttons */
.button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    text-decoration: none;
    background-color: #b30059;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s;
    display: inline-block;
    text-align: center;
}

.btn:hover {
    background-color: #99004d;
}

.btn-secondary {
    background-color: #333;
}

.btn-secondary:hover {
    background-color: #111;
}

/* Form Containers (Login & Register) */
.form-container {
    width: 90%;
    max-width: 420px;
    margin: 60px auto;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

h2 {
    text-align: center;
    color: #b30059;
    margin-bottom: 25px;
}

/* Form Field Wrapper */
.form-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

label {
    margin-bottom: 6px;
    font-weight: bold;
    color: #333;
}

input,
select {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

.error {
    color: red;
    font-size: 0.9em;
    margin-top: 4px;
}

/* Responsive Tweaks */
@media (max-width: 480px) {
    .btn {
        padding: 10px 18px;
        font-size: 14px;
    }

    .hero-container {
        padding: 30px 20px;
    }

    .form-container {
        padding: 20px;
    }
}
.form-field {
    margin-bottom: 20px;
}

.form-field label {
    display: block;
    font-weight: bold;
    color: #333;
    margin-bottom: 6px;  /* spacing between label and input */
}

.form-field input,
.form-field select {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 1rem;
}