/* WorldCup Tournament Registration Form Styles */

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&display=swap');

:root {
    --wct-primary: #0B3D2E;
    --wct-primary-light: #0E5A42;
    --wct-primary-dark: #082D21;
    --wct-success: #4CAF50;
    --wct-error: #f44336;
    --wct-warning: #ff9800;
    --wct-light-bg: #f5f9f8;
    --wct-border: #d0e0db;
    --wct-text: #333;
    --wct-text-light: #666;
}

/* Main Container */
.wct-registration-wrapper {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.wct-registration-form {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(11, 61, 46, 0.15);
    padding: 50px;
    position: relative;
}

/* Progress Bar */
.wct-progress-bar {
    width: 100%;
    height: 10px;
    background: var(--wct-border);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.wct-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--wct-primary), var(--wct-primary-light));
    transition: width 0.4s ease;
    box-shadow: 0 0 10px rgba(11, 61, 46, 0.3);
}

.wct-progress-text {
    text-align: center;
    color: var(--wct-text-light);
    font-size: 15px;
    margin-bottom: 40px;
    font-weight: 500;
}

/* Form Steps */
.wct-form-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.wct-form-step.wct-step-active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wct-form-step h2 {
    color: var(--wct-primary);
    font-size: 32px;
    margin-bottom: 35px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-family: 'Oswald', sans-serif;
    border-bottom: 3px solid var(--wct-primary);
    padding-bottom: 15px;
}

/* Form Groups */
.wct-form-group {
    margin-bottom: 28px;
}

.wct-form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--wct-text);
    font-weight: 600;
    font-size: 15px;
    font-family: Arial, sans-serif;
}

.wct-form-group input[type="text"],
.wct-form-group input[type="email"],
.wct-form-group input[type="tel"],
.wct-form-group input[type="number"],
.wct-form-group select,
.wct-form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--wct-border);
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: var(--wct-light-bg);
    font-family: Arial, sans-serif;
}

.wct-form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.wct-form-group input:focus,
.wct-form-group select:focus,
.wct-form-group textarea:focus {
    outline: none;
    border-color: var(--wct-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(11, 61, 46, 0.1);
}

.wct-form-group input.error,
.wct-form-group select.error,
.wct-form-group textarea.error {
    border-color: var(--wct-error);
    background: #fff5f5;
}

.wct-field-error {
    color: var(--wct-error);
    font-size: 13px;
    margin-top: 6px;
    display: none;
}

/* Form Rows */
.wct-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

@media (max-width: 768px) {
    .wct-form-row {
        grid-template-columns: 1fr;
    }
    
    .wct-registration-form {
        padding: 30px 25px;
    }
    
    .wct-form-step h2 {
        font-size: 26px;
    }
}

/* Radio and Checkbox Styles */
.wct-gender-options,
.wct-size-options {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.wct-radio-inline {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    padding: 10px 20px;
    border: 2px solid var(--wct-border);
    border-radius: 6px;
    background: var(--wct-light-bg);
    transition: all 0.3s ease;
}

.wct-radio-inline:hover {
    border-color: var(--wct-primary);
    background: #fff;
}

.wct-radio-inline input[type="radio"] {
    margin-right: 8px;
    cursor: pointer;
}

.wct-radio-inline input[type="radio"]:checked + label,
.wct-radio-inline:has(input[type="radio"]:checked) {
    border-color: var(--wct-primary);
    background: var(--wct-primary);
    color: #fff;
}

.wct-radio-label {
    display: block;
    padding: 15px;
    border: 2px solid var(--wct-border);
    border-radius: 6px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--wct-light-bg);
}

.wct-radio-label:hover {
    border-color: var(--wct-primary);
    background: #fff;
}

.wct-radio-label input[type="radio"] {
    margin-right: 10px;
}

.wct-checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    padding: 15px;
    border: 2px solid var(--wct-border);
    border-radius: 6px;
    background: var(--wct-light-bg);
}

.wct-checkbox-label input[type="checkbox"] {
    margin-right: 12px;
    margin-top: 3px;
    cursor: pointer;
}

.wct-checkbox-label a {
    color: var(--wct-primary);
    text-decoration: underline;
}

/* Bonus Player Section */
.wct-bonus-option {
    margin-bottom: 20px;
}

.wct-bonus-player-form {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid var(--wct-border);
}

/* Company Section */
.wct-company-section {
    margin-top: 20px;
}

.wct-logo-upload {
    position: relative;
}

.wct-logo-upload input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.wct-logo-preview {
    width: 200px;
    height: 200px;
    border: 3px dashed var(--wct-border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--wct-light-bg);
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.wct-logo-preview:hover {
    border-color: var(--wct-primary);
    background: #fff;
}

.wct-upload-placeholder {
    font-size: 48px;
    color: var(--wct-text-light);
}

#logo-preview-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Price Summary */
.wct-price-summary {
    background: var(--wct-light-bg);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
    border: 2px solid var(--wct-border);
}

.wct-price-summary h3 {
    color: var(--wct-primary);
    margin-top: 0;
    margin-bottom: 20px;
}

.wct-price-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--wct-border);
}

.wct-price-row:last-child {
    border-bottom: none;
}

.wct-total-price {
    font-size: 20px;
    color: var(--wct-primary);
    margin-top: 10px;
    padding-top: 15px;
    border-top: 2px solid var(--wct-primary);
}

/* Package Includes */
.wct-package-includes {
    background: #e8f5e9;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.wct-package-includes h3 {
    color: var(--wct-primary);
    margin-top: 0;
}

.wct-package-includes ul {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
}

.wct-package-includes li {
    padding: 8px 0;
    font-size: 15px;
}

/* Navigation Buttons */
.wct-form-navigation {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: space-between;
}

.wct-btn {
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.wct-btn-primary {
    background: var(--wct-primary);
    color: #fff;
}

.wct-btn-primary:hover {
    background: var(--wct-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11, 61, 46, 0.3);
}

.wct-btn-next,
.wct-btn-submit {
    background: var(--wct-primary);
    color: #fff;
    flex: 1;
}

.wct-btn-next:hover,
.wct-btn-submit:hover {
    background: var(--wct-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11, 61, 46, 0.3);
}

.wct-btn-prev {
    background: #f5f5f5;
    color: var(--wct-text);
    border: 2px solid var(--wct-border);
}

.wct-btn-prev:hover {
    background: #e0e0e0;
}

.wct-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Loading Overlay */
.wct-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    z-index: 1000;
}

.wct-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--wct-border);
    border-top-color: var(--wct-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.wct-loading-overlay p {
    margin-top: 20px;
    color: var(--wct-text);
    font-size: 16px;
}

/* Countries List Shortcode */
.wct-countries-list {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.wct-countries-list h3 {
    color: var(--wct-primary);
    margin-top: 0;
}

.wct-countries-list ul {
    list-style: none;
    padding: 0;
}

.wct-countries-list li {
    padding: 15px;
    border-bottom: 1px solid var(--wct-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wct-countries-list li:last-child {
    border-bottom: none;
}

.status-available {
    color: var(--wct-success);
    font-weight: 600;
}

.status-taken {
    color: var(--wct-error);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .wct-registration-form {
        padding: 25px;
    }
    
    .wct-form-step h2 {
        font-size: 22px;
    }
    
    .wct-form-navigation {
        flex-direction: column;
    }
}
