/* Floating Button Wrap */
.mwd-objection-floating-wrap {
    position: fixed;
    z-index: 9999;
}
.mwd-objection-floating-wrap.pos-bottom-right { bottom: 20px; right: 20px; }
.mwd-objection-floating-wrap.pos-bottom-left { bottom: 20px; left: 20px; }
.mwd-objection-floating-wrap.pos-bottom-center { bottom: 20px; left: 50%; transform: translateX(-50%); }
.mwd-objection-floating-wrap.pos-center-right { top: 50%; right: 0; transform: translateY(-50%); }
.mwd-objection-floating-wrap.pos-center-right .mwd-btn { transform: rotate(-90deg) translateY(100%); transform-origin: bottom right; border-radius: 5px 5px 0 0; }
.mwd-objection-floating-wrap.pos-center-left { top: 50%; left: 0; transform: translateY(-50%); }
.mwd-objection-floating-wrap.pos-center-left .mwd-btn { transform: rotate(90deg) translateY(100%); transform-origin: bottom left; border-radius: 5px 5px 0 0; }

/* Trigger Button */
.mwd-objection-trigger {
    display: inline-block;
    background-color: #2271b1;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none !important;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease;
}
.mwd-objection-trigger:hover {
    background-color: #135e96;
}

/* Overlay & Modal */
#mwd-objection-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(3px);
}
#mwd-objection-overlay.mwd-overlay-hidden {
    display: none;
}
.mwd-overlay-content {
    background: #fff;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    position: relative;
}
.mwd-overlay-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #555;
    padding: 0;
}
.mwd-overlay-close:hover { color: #000; }

/* Formular Styles */
.mwd-objection-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}
.mwd-form-row { width: 100%; }
.mwd-form-row.mwd-flex-row {
    display: flex;
    gap: 15px;
}
.mwd-form-col {
    flex: 1;
}
.mwd-objection-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 14px;
}
.mwd-objection-form input[type="text"],
.mwd-objection-form input[type="email"],
.mwd-objection-form input[type="date"],
.mwd-objection-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-family: inherit;
}
.mwd-checkbox-row label {
    font-weight: normal;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.mwd-checkbox-row input[type="checkbox"] {
    margin-top: 4px;
}
.mwd-submit-btn {
    background: #2271b1;
    color: #fff;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    font-weight: bold;
    transition: background 0.3s ease;
}
.mwd-submit-btn:hover { background: #135e96; }
.mwd-submit-btn:disabled { background: #999; cursor: not-allowed; }

/* Feedback Messages */
.mwd-form-feedback {
    padding: 15px;
    border-radius: 4px;
    margin-top: 15px;
    font-weight: bold;
}
.mwd-success { background: #e7f5ea; color: #1e7e34; border: 1px solid #c3e6cb; }
.mwd-error { background: #fce8e6; color: #d93025; border: 1px solid #fad2cf; }

/* Responsive */
@media (max-width: 600px) {
    .mwd-form-row.mwd-flex-row { flex-direction: column; gap: 0; }
    .mwd-form-col { margin-bottom: 15px; }
}