/* CWP Contact Form Styles */
.cwp-contact-container {
    display: flex;
    min-height: 600px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    margin: 20px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Lewa kolumna - ciemne tło */
.cwp-contact-left {
    flex: 1;
    background: linear-gradient(135deg, #7f31ff 0%, #4279f1 100%);
    color: white;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.cwp-contact-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.cwp-logo {
    width: 40px;
    height: 40px;
    background: white;
    color: #7f31ff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    margin-right: 15px;
}

.cwp-contact-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    flex: 1;
    color: white !important;
}

.cwp-arrow {
    font-size: 24px;
    color: white;
    font-weight: bold;
}

.cwp-headline {
    font-size: 32px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin: 0 0 20px 0;
    color: white;
    margin-bottom: 20px !important;
}

.cwp-description {
    font-size: 16px;
    line-height: 1.6;
    color: #f2f2f2;
    margin: 0 0 40px 0;
}

.cwp-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.cwp-benefit-tag {
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    background: transparent;
    color: white;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cwp-benefit-tag:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.cwp-benefit-tag.active {
    background: white;
    border-color: white;
    color: #7f31ff;
}

.cwp-team-section {
    margin-top: auto;
}

.cwp-team-avatars {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.cwp-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cwp-slogan {
    font-size: 14px;
    font-weight: 600;
    color: #ecf0f1;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Prawa kolumna - jasne tło */
.cwp-contact-right {
    flex: 1;
    background: #ffffff;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
}

.cwp-contact-form {
    flex: 1;
}

.cwp-form-group {
    margin-bottom: 25px;
}

.cwp-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.cwp-form-group input,
.cwp-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    font-family: inherit;
}

.cwp-form-group input:focus,
.cwp-form-group textarea:focus {
    outline: none;
    border-color: #7f31ff;
    box-shadow: 0 0 0 3px rgba(127, 49, 255, 0.1);
}

.cwp-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.cwp-consent {
    margin: 30px 0;
}

.cwp-checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 12px;
    line-height: 1.4;
    color: #7f8c8d;
}

.cwp-checkbox-label input[type="checkbox"] {
    display: none;
}

.cwp-checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #e1e8ed;
    border-radius: 4px;
    margin-right: 12px;
    margin-top: 2px;
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s ease;
}

.cwp-checkbox-label input[type="checkbox"]:checked + .cwp-checkbox-custom {
    background: #7f31ff;
    border-color: #7f31ff;
}

.cwp-checkbox-label input[type="checkbox"]:checked + .cwp-checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.cwp-consent-text {
    flex: 1;
}

.cwp-privacy-link {
    color: #7f31ff;
    text-decoration: none;
}

.cwp-privacy-link:hover {
    text-decoration: underline;
}

.cwp-submit-btn {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(to bottom, #7f31ff 0%, #4279f1 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cwp-submit-btn:hover {
    background: linear-gradient(to bottom, #6d28d9 0%, #3b82f6 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(127, 49, 255, 0.3);
}

.cwp-submit-btn:active {
    transform: translateY(0);
}

.cwp-submit-btn:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Komunikaty */
.cwp-form-messages {
    margin-top: 20px;
}

.cwp-success-message,
.cwp-error-message {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
}

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

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

/* Responsywność */
@media (max-width: 768px) {
    .cwp-contact-container {
        flex-direction: column;
    }
    
    .cwp-contact-left,
    .cwp-contact-right {
        padding: 40px 20px;
    }
    
    .cwp-headline {
        font-size: 24px;
    }
    
    .cwp-benefits {
        justify-content: center;
    }
    
    .cwp-team-avatars {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .cwp-contact-left,
    .cwp-contact-right {
        padding: 30px 15px;
    }
    
    .cwp-headline {
        font-size: 20px;
    }
    
    .cwp-benefit-tag {
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* Animacje */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cwp-contact-container {
    animation: fadeInUp 0.6s ease-out;
}

.cwp-benefit-tag {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.cwp-benefit-tag:nth-child(1) { animation-delay: 0.1s; }
.cwp-benefit-tag:nth-child(2) { animation-delay: 0.2s; }
.cwp-benefit-tag:nth-child(3) { animation-delay: 0.3s; }
.cwp-benefit-tag:nth-child(4) { animation-delay: 0.4s; }
.cwp-benefit-tag:nth-child(5) { animation-delay: 0.5s; }
.cwp-benefit-tag:nth-child(6) { animation-delay: 0.6s; }
