/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/* Registration Form Styling */
.prize-lottery-form {
    max-width: 600px;
    margin: 30px auto;
    padding: 25px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.prize-lottery-form h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.form-row {
    margin-bottom: 20px;
}

.form-row label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.form-row input[type="text"],
.form-row input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

.form-row input[type="text"]:focus,
.form-row input[type="email"]:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 5px rgba(0,115,170,0.3);
}

.required {
    color: #d63638;
}

.form-row .checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 5px;
}

.form-row .checkbox-container input[type="checkbox"] {
    margin-top: 3px;
}

.form-row .checkbox-container label {
    font-weight: normal;
    margin-bottom: 0;
}

.form-actions {
    margin-top: 30px;
    text-align: center;
}

.prize-lottery-submit {
    background-color: #0073aa;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.prize-lottery-submit:hover {
    background-color: #005a87;
}

/* Form Messages */
.prize-lottery-message {
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
    text-align: center;
}

.prize-lottery-success {
    background-color: #ecf9ec;
    border: 1px solid #46b450;
    color: #2a6f30;
}

.prize-lottery-error {
    background-color: #fbeaea;
    border: 1px solid #d63638;
    color: #a00;
}

.error-list {
    margin: 10px 0 0;
    padding-left: 20px;
    text-align: left;
}

.error-list li {
    margin-bottom: 5px;
}

/* Winner Selection Interface */
.prize-lottery-winner-selection {
    max-width: 600px;
    margin: 30px auto;
    text-align: center;
}

.prize-lottery-winner-selection h2 {
    color: #333;
    margin-bottom: 20px;
}

.winner-selection-button {
    background-color: #0073aa;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.winner-selection-button:hover {
    background-color: #005a87;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0,0,0,0.15);
}

.winner-selection-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Spinner */
.lottery-spinner {
    margin: 30px auto;
    width: 120px;
    height: 120px;
    position: relative;
    display: none;
}

.lottery-spinner-inner {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 6px solid transparent;
    border-top-color: #0073aa;
    border-bottom-color: #0073aa;
    animation: spin 1.5s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Winner Announcement */
.winner-announcement {
    background: #f0f8ff;
    border: 2px solid #0073aa;
    border-radius: 8px;
    padding: 25px;
    margin: 30px auto;
    max-width: 500px;
    text-align: center;
    display: none;
    box-shadow: 0 4px 10px rgba(0,115,170,0.2);
}

.winner-announcement h3 {
    color: #0073aa;
    font-size: 24px;
    margin-top: 0;
}

.winner-name {
    font-size: 28px;
    font-weight: bold;
    margin: 15px 0;
    color: #333;
}

.winner-info {
    color: #555;
    font-size: 16px;
}
