/* Custom styles for Doctreat Coupons Marketplace */

/* Dashboard Form Layout */
#dc-coupon-form fieldset {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 20px;
    margin: 0;
    padding: 0;
    border: none;
}
#dc-coupon-form .form-group {
    width: 100%;
    margin: 0 !important;
    padding: 0;
}
#dc-coupon-form .form-group.form-group-half {
    width: calc(50% - 10px);
}
#dc-coupon-form .form-control {
    width: 100%;
    height: 46px;
    padding: 10px 15px;
    box-sizing: border-box;
    border-radius: 4px;
    border: 1px solid #ddd;
}
#dc-coupon-form textarea.form-control {
    height: auto;
    min-height: 120px;
}

/* Fix Select2 Height to match other inputs */
#dc-coupon-form .select2-container .select2-selection--single,
#dc-coupon-form .select2-container .select2-selection--multiple {
    min-height: 46px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}
#dc-coupon-form .select2-container .select2-selection--multiple .select2-selection__rendered {
    padding: 5px 10px;
}
#dc-coupon-form .select2-container .select2-search--inline .select2-search__field {
    margin-top: 8px;
}

/* Button Area */
#dc-coupon-form .dc-btnarea {
    width: 100%;
    display: flex;
    gap: 15px;
    margin-top: 10px !important;
}
#dc-coupon-form .dc-btnarea .dc-btn {
    margin: 0;
}

/* Fix panel title button */
.dc-titlewithbtn {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.dc-titlewithbtn h2 {
    margin: 0;
}
