/*
Theme Name: vrdesign-child
Author: VR Design
Author URI: https://vrdesign.de
Template: vrdesign
Version: 1.0.0
Text Domain: vrdesign
*/


.field-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 25px;
}
.field-container input, .field-container select {
    width: 100%;
    height: 40px;
    margin-top: 10px;
}
.field-container p {
    margin: 0 !important;
}
button[type="submit"] {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-decoration: none;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    font-size: 14px;
    padding: 0 20px;
    margin: 0;
    background-color: #096fae;
    color: #ffffff;
    border: 1px solid #096fae;
    width: 100%;
    max-width: 300px;
    height: 50px;
    cursor: pointer;
}
button[type="submit"]:hover {    
    background-color: #ffffff;
    color: #096fae;
}


.form-message {  
    position: relative;
    display: none;
    color: #fff;
    margin: 5px 0 15px;
    padding: 14px;
    background: #2a9bd9;
    border-left: #1f7db1 solid 3px;
}
.form-message p {    
    margin: 0.5em 0;
}
.form-message.success {
    background: #49ad52;
    border-color: #3a8941;
}
.form-message.error {    
    background: #d94f4f;
    border-color: #c92c2c;
}





/* Loader */
.loading {
    display: none;
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 10px;
}
.loading.visible {
    display: inline-block;
}
.loading:after {
    content: " ";
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #fff;
    border-color: #fff transparent #fff transparent;
    animation: dual-ring 1.2s linear infinite;
}
@keyframes dual-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}  

/* order book */
/* --- 2‑Column Layout --- */
.buchbestellung-form {
    /* max-width: 900px; */
    margin: 40px auto;
    background: #111;
    padding: 30px;
    border-radius: 6px;
    color: #fff;
    font-size: 15px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px 30px;
}

.buchbestellung-form h2 {
    grid-column: 1 / 3;
    margin-bottom: 10px;
    font-size: 22px;
    font-weight: 600;
    color: #fff;
}

.buchbestellung-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #ddd;
}

.buchbestellung-form input,
.buchbestellung-form select,
.buchbestellung-form textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 4px;
    border: 1px solid #333;
    background: #1a1a1a;
    color: #fff;
    font-size: 15px;
    transition: all .2s ease-in-out;
}

.buchbestellung-form input:focus,
.buchbestellung-form select:focus,
.buchbestellung-form textarea:focus {
    border-color: #096fae;
    outline: none;
    background: #222;
}

/* Textarea über beide Spalten */
.buchbestellung-form textarea {
    min-height: 120px;
    resize: vertical;
    grid-column: 1 / 3;
}

.buchbestellung-submit {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    max-width: 200px;
    height: 50px;
    margin: 10px auto 0;

    background-color: #ff4444;
    border: 1px solid #ff4444;
    color: #ffffff;

    font-size: 14px;
    cursor: pointer;
    border-radius: 4px;
    transition: all .2s ease-in-out;

    padding: 0; /* important */
}


/* Erfolgsmeldung */
.order-success {
    background: #0b8f3a;
    padding: 15px 20px;
    border-radius: 4px;
    color: #fff;
    margin-bottom: 25px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

