@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap");

/* VL Tournament Registration Form Styles */
.vltourny-form-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 1rem;
    font-family: "Poppins", sans-serif;
}

.vltourny-card {
    position: relative;
    background: radial-gradient(ellipse at right top, #00458f8f 0%, #151419 45%, #151419 100%);
    border-radius: 1rem;
    box-shadow: 0.063em 0.75em 1.563em rgba(0, 0, 0, 0.78);
    min-height: 20rem;
    transition: opacity 0.25s ease-in;
    opacity: 0.95;
    color: #fff;
}

.vltourny-card:hover {
    opacity: 1;
}

.vltourny-card-success {
    background: radial-gradient(ellipse at right top, #107667ed 0%, #151419 47%, #151419 100%);
}

.vltourny-card-error {
    background: radial-gradient(ellipse at right top, #a63d2a82 0%, #151419 47%, #151419 100%);
}

.vltourny-card-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
}

.vltourny-tournament-title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.035em;
}

.vltourny-close-icon {
    color: #d9d9d9;
    width: 1.5rem;
    cursor: pointer;
}

.vltourny-card-body {
    padding: 4rem 2rem 2rem 2rem;
    text-align: left;
}

.vltourny-tournament-details {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid #5a81ff;
}

.vltourny-tournament-details p {
    margin: 0.5rem 0;
    color: #cccccc;
}

.vltourny-requirements {
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(90, 129, 255, 0.1);
    border-radius: 0.5rem;
    border: 1px solid rgba(90, 129, 255, 0.3);
    color: #5a81ff;
    white-space: pre-line;
    font-weight: 600;
}

.vltourny-requirements-display {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 1rem;
    margin: 1rem 0;
    white-space: pre-line;
    color: #cccccc;
}

.vltourny-form-group {
    margin-bottom: 1.5rem;
}

.vltourny-form-group label {
    display: block;
    color: #fff;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.vltourny-form-group input[type="text"],
.vltourny-form-group input[type="email"] {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #363636;
    border-radius: 0.5rem;
    background: #222127;
    color: #fff;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.vltourny-form-group input[type="text"]:focus,
.vltourny-form-group input[type="email"]:focus {
    outline: none;
    border-color: #5a81ff;
    box-shadow: 0 0 0 2px rgba(90, 129, 255, 0.2);
}

.vltourny-field-note {
    display: block;
    color: #cccccc;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.vltourny-platform-label {
    color: #fff;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.vltourny-platform-options {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.vltourny-radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #cccccc;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    border: 2px solid #363636;
    transition: all 0.3s ease;
}

.vltourny-radio-label:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #5a81ff;
}

.vltourny-radio-label input[type="radio"] {
    margin-right: 0.5rem;
    width: 1.2rem;
    height: 1.2rem;
    accent-color: #5a81ff;
}

.vltourny-radio-label input[type="radio"]:checked + .vltourny-radio-text {
    color: #5a81ff;
    font-weight: 600;
}

.vltourny-radio-label:has(input[type="radio"]:checked) {
    background: rgba(90, 129, 255, 0.2);
    border-color: #5a81ff;
}

.vltourny-form-submit {
    margin-top: 2rem;
    text-align: center;
}

.vltourny-submit-btn {
    background: #222127;
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    padding: 0.875rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: relative;
}

.vltourny-submit-btn:hover {
    background: #5a81ff;
}

.vltourny-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.vltourny-btn-loading {
    display: none;
}

/* Success/Error Card Specific Styles */
.vltourny-success-icon,
.vltourny-error-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem auto;
    display: block;
}

.vltourny-success-icon {
    color: #2eea9d;
}

.vltourny-error-icon {
    color: #fe6c9b;
}

.vltourny-success-content,
.vltourny-error-content {
    text-align: center;
}

.vltourny-success-content h3,
.vltourny-error-content h3 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
}

.vltourny-success-content p,
.vltourny-error-content p {
    color: #cccccc;
    margin: 0.5rem 0;
}

.vltourny-registration-summary {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 1rem;
    margin: 1.5rem 0;
    text-align: left;
}

.vltourny-registration-summary h4 {
    color: #fff;
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.vltourny-registration-summary ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vltourny-registration-summary li {
    color: #cccccc;
    margin: 0.5rem 0;
    padding: 0.25rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.vltourny-next-steps {
    background: rgba(90, 129, 255, 0.1);
    border-radius: 0.5rem;
    padding: 1rem;
    margin: 1.5rem 0;
    text-align: left;
}

.vltourny-next-steps p {
    color: #5a81ff;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.vltourny-next-steps ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin: 0;
}

.vltourny-next-steps li {
    color: #cccccc;
    margin: 0.5rem 0;
}

.vltourny-error-details {
    background: rgba(254, 108, 155, 0.1);
    border: 1px solid rgba(254, 108, 155, 0.3);
    border-radius: 0.5rem;
    padding: 1rem;
    margin: 1rem 0;
    color: #fe6c9b;
}

.vltourny-card-footer {
    padding: 1rem 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.vltourny-btn-primary {
    background: #222127;
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    padding: 0.625rem 2rem;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.vltourny-btn-primary:hover {
    background: #5a81ff;
}

.vltourny-btn-secondary {
    background: transparent;
    color: #cccccc;
    border: 1px solid #cccccc;
    border-radius: 0.5rem;
    padding: 0.625rem 2rem;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.vltourny-btn-secondary:hover {
    background: #cccccc;
    color: #151419;
}

.vltourny-messages {
    margin-top: 1rem;
}

/* Validation feedback styles */
.vltourny-valid {
    border-color: #2eea9d !important;
    box-shadow: 0 0 0 2px rgba(46, 234, 157, 0.2) !important;
}

.vltourny-invalid {
    border-color: #fe6c9b !important;
    box-shadow: 0 0 0 2px rgba(254, 108, 155, 0.2) !important;
}

.vltourny-platform-options.vltourny-valid .vltourny-radio-label {
    border-color: #2eea9d;
}

.vltourny-platform-options.vltourny-invalid .vltourny-radio-label {
    border-color: #fe6c9b;
}

/* Responsive Design */
@media (max-width: 768px) {
    .vltourny-form-container {
        padding: 0.5rem;
        margin: 1rem auto;
    }
    
    .vltourny-card-body {
        padding: 3rem 1.5rem 1.5rem 1.5rem;
    }
    
    .vltourny-tournament-title {
        font-size: 1.3rem;
    }
    
    .vltourny-platform-options {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .vltourny-card-footer {
        flex-direction: column;
    }
}