/* Main Container */
.raffle-signup-container {
    max-width: 500px;
    margin: 2rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* Form Title */
.raffle-signup-container h2 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: #333;
    text-align: center;
    font-weight: 600;
}

/* Form Groups */
.form-group {
    margin-bottom: 1.25rem;
}

/* Labels */
.raffle-signup-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #444;
}

/* Form Inputs */
.raffle-signup-form .form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.raffle-signup-form .form-control:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 0 1px #0073aa;
}

/* Submit Button */
.raffle-signup-form .button {
    display: block;
    width: 100%;
    padding: 0.75rem;
    background-color: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.raffle-signup-form .button:hover {
    background-color: #005177;
}

/* Messages */
.raffle-signup-message,
.raffle-signup-error {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
    text-align: center;
}

.raffle-signup-message {
    background-color: #f0f8ff;
    border: 1px solid #bfe7ff;
    color: #005177;
}

.raffle-signup-error {
    background-color: #fff0f0;
    border: 1px solid #ffd6d6;
    color: #d63638;
}

/* Loading Overlay */
.raffle-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.raffle-loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Spinner */
.raffle-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #0073aa;
    border-radius: 50%;
    animation: raffle-spin 1s linear infinite;
}

@keyframes raffle-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Adjustments */
@media (max-width: 600px) {
    .raffle-signup-container {
        margin: 1rem;
        padding: 1.5rem;
    }
}
