/*
Theme Name: octagon-parking
Theme URI: 
Author: 
Author URI: 
Description: 
Requires at least: 7.0
Tested up to: 7.0
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: octagon-parking
Tags: 
*/

@font-face {
  font-family: 'Roboto';
  src: url('/wp-content/themes/octagon-parking/src/fonts/Roboto-VariableFont_wdth,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
}


@font-face {
  font-family: 'Roboto';
  src: url('/wp-content/themes/octagon-parking/src/fonts/Roboto-Italic-VariableFont_wdth,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
}

html{
    background-color:var(--wp--preset--color--primary-100);
    width:100%;
    height:100%;
}

/* Container styling */


/* Label styling */
.wpcf7 label {
    display: block;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 14px;
    color: #333333;
}

/* Base input styling (text, date, email) */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="date"] {
    display: block;
    width: 100%;
    padding: 12px;
    margin-top: 5px;
    font-size: 16px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    background-color: #ffffff;
    box-sizing: border-box;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

/* Focus state for inputs */
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="date"]:focus {
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);
    outline: none;
}

/* Submit button styling */
.wpcf7 input[type="submit"] {
    display: inline-block;
    width: 100%;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    background-color: var(--wp--preset--color--ternary-100);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}



/* Submit button hover state */
.wpcf7 input[type="submit"]:hover {
    opacity: 0.8;
}

/* Error validation styling */
.wpcf7 .wpcf7-not-valid-tip {
    color: #dc3232;
    font-size: 13px;
    font-weight: normal;
    margin-top: 5px;
}

.wpcf7 .wpcf7-response-output {
    margin: 0;
}

.wpcf7 label .material-symbols-outlined{
    font-size: 0.75rem;
    color:red;
}

.wpcf7-form{
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1rem;
    display: grid;
    align-items: flex-end;
}


.wpcf7-form label{
    color:var(--wp--preset--color--background-100);
    margin-bottom:0;
    text-transform: uppercase;
}

.wpcf7-acceptance label{
    text-transform: unset;
}

.entry-content > * {
    padding-left:1rem;
    padding-right:1rem;
}

.wp-block-site-logo.is-default-size img{
    width:12rem;
}

a{
    color: var(--wp--preset--color--ternary-100);
}

a:visited{
    color:var(--wp--preset--color--secondary-100);
}

@media screen and (min-width:768px) {

    .wpcf7-form{
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }

    .wpcf7-form-control-wrap:has(.wpcf7-acceptance){
        grid-column: span 2;
    }

    div:has(> .wpcf7-submit){
        grid-column: span 2;
    }

    .wpcf7 form .wpcf7-response-output{
        grid-column: span 2;
    }
    
}


body{
    color:var(--wp--preset--color--background-100);
    font-family: var(--wp--preset--font-family--roboto);
}


.wpcf7 form .wpcf7-response-output{
    margin:0;
    padding:1rem;
}