/* Contact Form 7 - Large & Beautiful */
.wpcf7 {
    max-width: 600px;
    margin: 0 auto;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-color: #333;
}

.wpcf7 textarea {
    min-height: 150px;
    resize: vertical;
}

.wpcf7 input[type="submit"] {
    background: #333;
    color: #fff;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-weight: 500;
}

.wpcf7 input[type="submit"]:hover {
    background: #555;
}

.wpcf7 label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
}

.wpcf7-not-valid-tip {
    font-size: 0.9rem;
    color: #d32f2f;
    margin-top: -1rem;
    margin-bottom: 1rem;
}

.wpcf7-response-output {
    margin: 2rem 0;
    padding: 1rem;
    border-radius: 8px;
}




/*NEWSLETER GLOWNA*/
/* Newsletter Widget/Form - Universal Styling */
.tnp.tnp-subscription {
    max-width: 100%;
    padding: 25px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.tnp-subscription .tnp-field {
    margin-bottom: 18px;
}

.tnp-subscription .tnp-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2c2c2c;
    font-size: 14px;
}

.tnp-subscription input[type="text"],
.tnp-subscription input[type="email"],
.tnp-subscription select,
.tnp-subscription textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    font-family: inherit;
}

.tnp-subscription input[type="text"]:focus,
.tnp-subscription input[type="email"]:focus,
.tnp-subscription select:focus,
.tnp-subscription textarea:focus {
    outline: none;
    border-color: #f95959;
    box-shadow: 0 0 0 3px rgba(249, 89, 89, 0.1);
}

/* Privacy checkbox styling */
.tnp-subscription .tnp-privacy-field {
    margin-bottom: 20px;
}

.tnp-subscription .tnp-privacy-field label {
    display: flex;
    align-items: flex-start;
    font-size: 13px;
    color: #666;
    font-weight: normal;
    cursor: pointer;
}

.tnp-subscription .tnp-privacy {
    margin-right: 10px;
    margin-top: 3px;
    width: auto !important;
    cursor: pointer;
}

/* Submit button */
.tnp-subscription .tnp-submit {
    width: 100%;
    padding: 14px 30px;
    background-color: #f95959;
    color: #fff !important;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
}

.tnp-subscription .tnp-submit:hover {
    background-color: #e84848;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 89, 89, 0.3);
}

.tnp-subscription .tnp-submit:active {
    transform: translateY(0);
}

/* Remove any inline styles conflicts */
.tnp-subscription .tnp-field-button {
    text-align: center !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .tnp.tnp-subscription {
        padding: 20px 15px;
        border-radius: 10px;
    }

    .tnp-subscription input[type="text"],
    .tnp-subscription input[type="email"] {
        font-size: 16px; /* prevents zoom on iOS */
    }
}

/* Sidebar specific adjustments (if needed) */
.widget .tnp.tnp-subscription {
    padding: 20px;
}

/* Footer specific adjustments (if in footer) */
.site-footer .tnp.tnp-subscription {
    background-color: rgba(255,255,255,0.95);
}
