/* Filename: b2b-style.css 
   Styles für das B2B Anfrage Plugin
*/

.b2b-wrapper-plugin {
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Button Gruppe */
.b2b-btn-group { 
    display: flex; 
    flex-direction: column; 
    gap: 10px; 
    margin-bottom: 20px; 
}

/* Einzelner Button Style */
.b2b-btn { 
    padding: 15px 20px; 
    background: #f7f7f7; 
    color: #333; 
    border: 2px solid #ddd; 
    cursor: pointer; 
    text-align: left;
    font-size: 16px;
    transition: all 0.2s ease; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.b2b-btn strong { 
    font-weight: bold; 
}

.b2b-btn:hover {
    background: #fff;
    border-color: #aaa;
}

.b2b-btn.active { 
    border-color: #007cba; 
    background: #f0f8ff; 
    box-shadow: 0 0 0 1px #007cba;
}

/* Preis Badge rechts im Button */
.b2b-price-badge {
    background: #e2e2e2;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85em;
    font-weight: bold;
    margin-left: 10px;
    white-space: nowrap;
}

/* Container für das Formular */
#b2b-custom-form-wrapper { 
    display: none; 
    background: #fdfdfd; 
    padding: 25px; 
    border: 1px solid #e5e5e5; 
    border-radius: 4px;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

#b2b-form-title {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.2em;
}

#b2b-selected-price-info {
    font-size: 0.95em; 
    color: #555; 
    margin-bottom: 20px; 
    display: none;
    padding: 8px;
    background: #eee;
    border-left: 3px solid #007cba;
}

/* Formular Felder */
.b2b-form-row { 
    margin-bottom: 15px; 
}

.b2b-form-row label { 
    display: block; 
    font-weight: 600; 
    margin-bottom: 6px; 
    font-size: 14px; 
    color: #333;
}

.b2b-form-row input[type="text"], 
.b2b-form-row input[type="email"], 
.b2b-form-row textarea { 
    width: 100%; 
    padding: 10px; 
    border: 1px solid #ccc; 
    border-radius: 4px; 
    box-sizing: border-box; 
    font-size: 14px;
}

.b2b-form-row input:focus, 
.b2b-form-row textarea:focus {
    border-color: #007cba;
    outline: none;
    box-shadow: 0 0 3px rgba(0, 124, 186, 0.2);
}

/* Senden Button */
.b2b-submit-btn { 
    background: #007cba; 
    color: white; 
    border: none; 
    padding: 12px 20px; 
    cursor: pointer; 
    width: 100%; 
    font-size: 16px; 
    border-radius: 4px;
    font-weight: bold;
    transition: background 0.2s;
}

.b2b-submit-btn:hover { 
    background: #005a87; 
}

.b2b-submit-btn:disabled { 
    background: #ccc; 
    cursor: not-allowed; 
}

/* Status Meldungen */
.b2b-response-msg { 
    margin-top: 15px; 
    padding: 12px; 
    display: none; 
    border-radius: 4px; 
    font-size: 14px;
}

.b2b-response-msg.success { 
    background: #d4edda; 
    color: #155724; 
    border: 1px solid #c3e6cb; 
}

.b2b-response-msg.error { 
    background: #f8d7da; 
    color: #721c24; 
    border: 1px solid #f5c6cb; 
}