/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/


/* --- Stylowanie zapisu do newslettera na stronie postów/wpisów --- */



/* --- Pole e-mail --- */
.shopmagic-input-email {
    background: #ffffff;
    color: #333;
    padding: 14px 18px;
    border-radius: 6px;
    border: none;
    width: 100%;
    font-size: 16px;
}

/* Placeholder w szarym kolorze */
.shopmagic-input-email::placeholder {
    color: #999999;
    opacity: 1;
}

/* Kolor tekstu w trakcie wpisywania */
.shopmagic-input-email {
    color: #555555 !important;        /* szary tekst */
}

/* Usunięcie koloru Avada podczas focus */
.shopmagic-input-email:focus {
    color: #555555 !important;
    border-color: #cccccc !important;
    box-shadow: none !important;
    outline: none !important;
}

/* --- Checkbox + tekst akceptacji --- */
#agreement {
    transform: scale(1.2);
    margin-right: 10px;
}

.shopmagic-form-field-email label {
    color: #ffffff !important;
    font-size: 16px;
}

/* --- Przycisk --- */
.shopmagic-submit {
    background-color: #2E7664; /* zielony – dopasuj do tła */
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 6px;
    border: none;
    font-size: 18px;
    cursor: pointer;
    display: block;
    margin: 20px auto 0; /* wyśrodkowanie */
    transition: 0.3s;
}

/* efekt hover */
.shopmagic-submit:hover {
    background-color: #245B4E;
}

/* wyrównanie całego formularza */
.shopmagic-form {
    text-align: center;
}

.shopmagic-form-field {
    margin-bottom: 18px;
}

/* Podstawowy styl wszystkich komunikatów */
.shopmagic-message {
    background: none !important;   /* bez tła */
    padding: 0 !important;
    margin-top: 10px;
    font-size: 16px;
    font-weight: 500;
    border: none !important;
}

/* Sukces – ciemnozielony tekst */
.shopmagic-message.success {
    color: #ffffff !important;     /* ten sam zielony co hover przycisku */
}

/* Błąd – ciemnoczerwony tekst (ładny, stonowany) */
.shopmagic-message.error {
    color: #ffffff !important;
}




/* Post/Wpis nazwa kategoii nad tytułem */

.cs-post-category p a {color: #f0c6d8!important;}
.cs-post-category p a:hover {color: #286245!important;}