/* 
Theme Name:		 readlib-child
Description:	 readlib-child is a child theme of "ReadLib - Book Store WordPress Theme"
Author:			 Nikita "mimthemes" Kliushnikov
Author URI:      https://www.templatemonster.com/authors/mimthemes/
Template:		 readlib
Version:		 1.0.0
Text Domain:	 readlib-child
*/

/*
    Add your custom styles here
*/
/* Importa un font elegante da Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

/* Applica il font a tutto il form CF7 */
.wpcf7 {
    font-family: 'Inter', sans-serif;
    color: #1a1a1a;
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background: #fdfdfd;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border-radius: 8px;
}

/* Stile degli input e textarea: solo border-bottom */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="date"],
.wpcf7 textarea {
    border: none;
    border-bottom: 2px solid #ccc;
    background: transparent;
    padding: 10px 5px;
    width: 100%;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="url"]:focus,
.wpcf7 input[type="date"]:focus,
.wpcf7 textarea:focus {
    border-bottom: 2px solid #0053A0; /* Colore aziendale */
}

/* Radio e checkbox */
.wpcf7 input[type="checkbox"],
.wpcf7 input[type="radio"] {
    margin-right: 8px;
}

/* Etichette */
.wpcf7 form p,
.wpcf7 form label {
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    color: #333;
}

/* Bottone submit */
.wpcf7 input[type="submit"] {
    background-color: #0053A0; /* Colore aziendale */
    color: #fff;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 20px;
    border-radius: 4px;
}

.wpcf7 input[type="submit"]:hover {
    background-color: #003f7d;
}

/* Responsive layout */
@media (max-width: 600px) {
    .wpcf7 {
        padding: 20px;
    }

    .wpcf7 input,
    .wpcf7 textarea {
        font-size: 15px;
    }
}
