/* Custom styles for registration form */

/* Checkbox spacing */
input[type="checkbox"] {
    margin-right: 8px;
}

/* Main layout container */
.wrapper {
    min-height: 100vh;
    padding: 2rem 1rem; /* Reduced vertical padding */
    max-width: 700px; /* Further reduced max-width for more compact centering */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Form container */
.form-card {
    width: 100%;
    max-width: 700px; /* Matched with wrapper max-width */
    margin: 0 auto;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.12);
    padding: 2rem; /* Slightly reduced padding */
}

/* Form field styling */
input[type="text"],
input[type="email"],
input[type="tel"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #94a3b8; /* More visible border color */
    border-radius: 0.5rem;
    background-color: white; /* Changed from #f8fafc for better contrast */
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

input[type="text"]:hover,
input[type="email"]:hover,
input[type="tel"]:hover {
    border-color: #6366f1; /* Light indigo on hover */
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus {
    border-color: #4f46e5; /* Deeper indigo on focus */
    outline: none;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2); /* More visible focus effect */
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="tel"]::placeholder {
    color: #a1a1aa; /* Slightly lighter placeholder color for better readability */
    opacity: 0.7;
}

/* Waiver section */
.waiver-text {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 1.5rem; /* Reduced padding */
    margin-bottom: 1.5rem;
}

.waiver-text p {
    line-height: 1.5; /* Slightly tighter line height */
}

/* Form sections */
.form-section {
    margin-bottom: 2rem; /* Reduced margin */
}

/* Improved spacing for sections */
.space-y-6 > * + * {
    margin-top: 1.25rem; /* Slightly reduced spacing */
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .wrapper {
        padding: 1rem 0.5rem; /* Further reduced padding for mobile */
    }
    
    .form-card {
        padding: 1.25rem; /* Reduced padding for mobile */
    }
}

/* Button styling */
.btn-primary {
    background-color: #4F46E5;
    color: white;
    padding: 0.65rem 1.25rem; /* Slightly reduced padding */
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-primary:hover {
    background-color: #4338CA;
}

/* Label styling */
label {
    margin-bottom: 0.4rem; /* Slightly reduced margin */
    display: block;
    color: #1f2937;
}

/* Additional centering and compact adjustments */
body {
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 640px) {
    body {
        align-items: flex-start; /* Prevent mobile zoom/scroll issues */
    }
}