/* WebKampa Registration Form Styles */

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/wp-content/plugins/white-label/assets/fonts/p_woff2/poppins-v24-latin-regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('/wp-content/plugins/white-label/assets/fonts/p_woff2/poppins-v24-latin-italic.woff2') format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/wp-content/plugins/white-label/assets/fonts/p_woff2/poppins-v24-latin-500.woff2') format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 500;
    font-display: swap;
    src: url('/wp-content/plugins/white-label/assets/fonts/p_woff2/poppins-v24-latin-500italic.woff2') format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/wp-content/plugins/white-label/assets/fonts/p_woff2/poppins-v24-latin-600.woff2') format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 600;
    font-display: swap;
    src: url('/wp-content/plugins/white-label/assets/fonts/p_woff2/poppins-v24-latin-600italic.woff2') format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/wp-content/plugins/white-label/assets/fonts/p_woff2/poppins-v24-latin-700.woff2') format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url('/wp-content/plugins/white-label/assets/fonts/p_woff2/poppins-v24-latin-700italic.woff2') format('woff2');
}

.webkampa-registration-wrapper {
    font-family: Poppins, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    max-width: 960px;
    margin: 40px auto;
    padding: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fb 100%);
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.webkampa-registration-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.webkampa-registration-progress::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #eceff4 0%, #f7f7f9 50%, #eceff4 100%);
    z-index: 0;
    border-radius: 999px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    flex: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #eef1f5;
    color: #4a4f59;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.progress-step.active .step-number {
    background: linear-gradient(135deg, #ff4a6d 0%, #dd183b 100%);
    color: #fff;
    box-shadow: 0 10px 24px rgba(221,24,59,0.35);
}

.progress-step.completed .step-number {
    background: #46b450;
    color: #fff;
}

.step-label {
    font-size: 12px;
    text-align: center;
    color: #666;
}

.progress-step.active .step-label {
    color: #dd183b;
    font-weight: bold;
}

.registration-step {
    display: none;
}

.registration-step.active {
    display: block;
}

.registration-step h2 {
    margin-bottom: 30px;
    color: #1f2530;
    letter-spacing: -0.02em;
    border-bottom: 2px solid #ff6f8b;
    padding-bottom: 12px;
}

.form-row {
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #2c3038;
    font-size: 14px;
    letter-spacing: 0.01em;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="password"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #dce1e8;
    border-radius: 10px;
    font-size: 15px;
    font-family: Poppins, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background: #fbfbfd;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
    min-height: 48px;
}

.form-group input[type="date"] {
    appearance: none;
    padding-right: 42px;
    background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='3' y='5' width='18' height='16' rx='2' stroke='%239aa1ad' stroke-width='1.5'/%3E%3Cpath d='M8 3V7' stroke='%239aa1ad' stroke-width='1.5' stroke-linecap='round'/%3E%3Cpath d='M16 3V7' stroke='%239aa1ad' stroke-width='1.5' stroke-linecap='round'/%3E%3Cpath d='M3 11H21' stroke='%239aa1ad' stroke-width='1.5'/%3E%3Cpath d='M8 14H9' stroke='%239aa1ad' stroke-width='1.5' stroke-linecap='round'/%3E%3Cpath d='M12 14H13' stroke='%239aa1ad' stroke-width='1.5' stroke-linecap='round'/%3E%3Cpath d='M16 14H17' stroke='%239aa1ad' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 14px) 50%;
    background-size: 18px;
}

.form-group select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #9aa1ad 50%), linear-gradient(135deg, #9aa1ad 50%, transparent 50%);
    background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 44px;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #ff6f8b;
    box-shadow: 0 0 0 4px rgba(221,24,59,0.12);
    transform: translateY(-1px);
}

.form-hint {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #6b7280;
}

.domain-input-wrapper {
    display: flex;
    align-items: center;
}

.domain-input-wrapper input {
    min-height: 48px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.domain-prefix {
    padding: 12px 15px;
    background: #f2f4f8;
    border: 1px solid #dce1e8;
    border-right: none;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    color: #1f2530;
    font-weight: 600;
}

.domain-tld-select {
    padding: 12px 14px;
    border: 1px solid #dce1e8;
    border-left: none;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    background: #fff;
    color: #1f2530;
    font-weight: 600;
    cursor: pointer;
}

.domain-input-wrapper input {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left: none;
    border-right: none;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #2c3038;
    font-size: 14px;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    width: auto;
}

.checkbox-group.required label::after {
    content: ' *';
    color: #d63638;
}

.pricing-summary {
    background: #f7f8fb;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px solid #eaedf3;
}

.price-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

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

.price-item.optional {
    color: #666;
}

.price-item.total {
    border-top: 2px solid #dd183b;
    margin-top: 10px;
    padding-top: 15px;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.payment-method {
    display: flex;
    align-items: flex-start;
    padding: 18px;
    border: 2px solid #e5e8ee;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    background: #fff;
}

.payment-method:hover {
    border-color: #ff6f8b;
    background: #fff7fa;
    box-shadow: 0 10px 28px rgba(221,24,59,0.12);
}

.payment-method input[type="radio"] {
    margin-right: 15px;
    margin-top: 3px;
}

.payment-label {
    flex: 1;
}

.payment-label strong {
    display: block;
    margin-bottom: 5px;
}

.payment-label small {
    display: block;
    color: #666;
    font-size: 12px;
}

.payment-method input[type="radio"]:checked + .payment-label {
    color: #dd183b;
}

.payment-method input[type="radio"]:checked ~ .payment-label,
.payment-method:has(input[type="radio"]:checked) {
    border-color: #ff6f8b;
    background: #fff2f6;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.form-actions .btn-next {
    margin-left: auto;
}

.btn-prev,
.btn-next,
.btn-submit {
    padding: 14px 36px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-prev {
    background: #f1f2f6;
    color: #2c3038;
    border: 1px solid #e1e4eb;
}

.btn-prev:hover {
    background: #e6e8ef;
}

.btn-next,
.btn-submit {
    color: #fff;
    box-shadow: 0 12px 28px rgba(221,24,59,0.25);
}

.btn-next {
    background: #e1e4eb;
    color: #7a818f;
    border: 1px solid #d6dae2;
    box-shadow: none;
}

.btn-next::after {
    content: '→';
    font-weight: 800;
    transition: transform 0.2s ease;
}

.btn-next:not(:disabled) {
    background: linear-gradient(135deg, #ff4a6d 0%, #dd183b 100%);
    color: #fff;
    border: none;
    box-shadow: 0 12px 28px rgba(221,24,59,0.25);
}

.btn-next:not(:disabled):hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(221,24,59,0.32);
}

.btn-next:not(:disabled):hover::after {
    transform: translateX(4px);
}

.btn-next:disabled {
    cursor: not-allowed;
    opacity: 0.85;
}

.btn-submit {
    background: linear-gradient(135deg, #ff4a6d 0%, #dd183b 100%);
}

.btn-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(221,24,59,0.32);
}

.btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
}

#webkampa-registration-messages {
    margin-top: 20px;
}

.message {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Upsell cards */
.upsell-list {
    display: grid;
    gap: 14px;
    margin-bottom: 24px;
}

.upsell-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid #e5e8ee;
    border-radius: 12px;
    background: #f9fafc;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.upsell-card:hover {
    border-color: #ff6f8b;
    box-shadow: 0 10px 24px rgba(221,24,59,0.12);
}

.upsell-card input[type="checkbox"] {
    margin-top: 4px;
}

.upsell-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #1f2530;
}

.upsell-title {
    font-weight: 700;
    font-size: 15px;
}

.upsell-price {
    font-weight: 700;
    color: #dd183b;
    font-size: 14px;
}

.upsell-desc {
    margin: 0;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.5;
}

/* Misc touches */
.registration-step p {
    color: #4f5663;
    line-height: 1.6;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9aa1ad;
}

/* Responsive */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .webkampa-registration-wrapper {
        padding: 16px;
    }
    
    .webkampa-registration-progress {
        flex-direction: column;
        gap: 20px;
    }
    
    .webkampa-registration-progress::before {
        display: none;
    }
    
    .step-label {
        font-size: 11px;
    }

    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-prev,
    .btn-next,
    .btn-submit {
        width: 100%;
        justify-content: center;
    }

    .upsell-card {
        flex-direction: row;
    }
}

/* Info Box für Domain-Transfer */
.info-box {
    background: #f0f0f1;
    padding: 15px;
    border-radius: 5px;
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.6;
}

.info-box strong {
    display: block;
    margin-bottom: 8px;
    color: #1a1a1a;
    font-weight: 600;
}

.info-box ul {
    margin: 10px 0 0 20px;
    padding: 0;
}

.info-box li {
    margin-bottom: 6px;
    color: #4a4a4a;
}

.info-box li:last-child {
    margin-bottom: 0;
}




