/* phpcs:ignoreFile */
.coupon-listing {
	width: 100%;
	float: left;
}

/* Main tabs */
#smart_coupons_tabs .nav-tab-wrapper {
	padding: 0;
	margin-top: 15px;
}

#smart_coupons_tabs .nav-tab {
	background: #e2e8f0;
	border: 1px solid #cbd5e1;
	color: #334155;
	padding: 10px 20px;
	font-weight: 600;
	border-radius: 8px 8px 0 0;
	margin-right: 8px;
	transition: 0.25s ease-in-out;
}

#smart_coupons_tabs .nav-tab:hover {
	background: #f1f5f9;
	color: #1e293b;
}

#smart_coupons_tabs .nav-tab-active {
	background: #3b82f6 !important;
	color: #ffffff !important;
	border-color: #3b82f6;
}

.coupons_send_email {
	padding: 10px;
	background: #fff;
	margin-top: 15px;
}

.coupon-div {
	background-color: #f7f7f7;
	width: 100%;
	padding: 10px;
	margin: 5px 5px;
	float: left;
	text-align: center;
}

.coupon-inner-div {
	border: 2px dashed #3aa006;
	padding: 10px;
	position: relative;
}

.coupon-title {
	font-weight: bold;
	margin-right: 30px;
}

.coupon-amount {
	font-style: italic;
	margin-right: 30px;
}

.coupon-detail {
	margin-right: 30px;
}

.coupon-date {
	font-style: italic;
	margin-right: 30px;
}


/* Coupons Import */

.coupons_import_coupons {
	background-color: #FFF;
	border: 1px solid #CCC;
	text-align: center;
	padding: 50px;
}

.smart_coupon_visible_on_cart {
	border: 1px dashed #3b82f6;
	padding: 10px;
	margin: 10px;
	background-color: #edf4ff;
}

.coupon-inner-div.smart-coupon-loading:before {
	background: url(../images/spinner.gif) no-repeat;
	position: absolute;
	top: 0;
	bottom: 0;
	content: "";
	left: 0;
	right: 0;
	opacity: 0.5;
	background-size: contain;
	background-position: center;
}

#smart_coupon_bulk_email_metabox {
	padding: 0 1.5em;
	display: none;
}


.myplugin-settings-wrap { max-width: 900px; }
	.myplugin-card {
		background: #fff;
		padding: 25px;
		margin-top: 20px;
		margin-bottom: 25px;
		border-radius: 12px;
		border: 1px solid #e2e2e2;
		box-shadow: 0 2px 6px rgba(0,0,0,0.04);
		width: 135%;
	}
	.myplugin-card h2 {
		margin-top: 0;
		font-size: 20px;
		font-weight: 600;
		color: #1d2327;
	}
	.myplugin-desc {
		margin-top: -10px;
		margin-bottom: 20px;
		color: #555;
	}
	.myplugin-field {
		margin-bottom: 20px;
	}
	.myplugin-field label {
		display: block;
		margin-bottom: 6px;
		font-weight: 500;
	}
	.myplugin-field input[type="text"],
	.myplugin-field input[type="number"] {
		width: 100%;
		padding: 8px 10px;
		border: 1px solid #ccc;
		border-radius: 6px;
	}
	.myplugin-checkbox {
		margin-bottom: 14px;
	}
	.myplugin-checkbox label {
		font-weight: 500;
	}


	.myplugin-divider {
		border: 0;
		border-top: 3px solid #e2e2e2;
		margin: 25px 0;
		margin-right: -25px;
		margin-left: -25px;
	}





.ucg-product-coupons-box {
	background: #f8fafc;
	padding: 15px;
	margin-top: 20px;
	border-radius: 8px;
}

.ucg-product-coupons-box h4 {
	margin-top: 0;
}

.ucg-single-coupon {
	padding: 8px 0;
	border-bottom: 1px solid #e2e8f0;
}
.ucg-single-coupon:last-child {
	border-bottom: none;
}



.coupon-head{
	position: relative;
	top: -10px;
}


.form-table{
	margin-top: -20px;
}


.improved-box {
	background: #ffffff;
	padding: 22px;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	box-shadow: 0 3px 8px rgba(0,0,0,0.04);
}

.notice-success {
	background: #d1fae5;
	border-left: 4px solid #10b981;
	padding: 10px 15px;
	border-radius: 6px;
	margin-bottom: 15px;
}

.enhanced-title {
    margin-bottom: -15px;
    font-size: 20px;
    color: #1e293b;
    margin-top: 10px;
	text-align: center;
}
.enhanced-table {
	margin-top: -10px;
}

.enhanced-label {
	font-size: 15px;
	font-weight: 600;
	color: #334155;
	display: block;
	margin-bottom: 6px;
}

.enhanced-input,
.enhanced-select,
.enhanced-number {
	width: 100% !important;
	max-width: 320px;
	padding: 10px 12px;
	background: #f8fafc;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	font-size: 14px;
}

.enhanced-flex {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 8px;
}

.enhanced-or {
	font-weight: 600;
	color: #475569;
}

.enhanced-note {
	font-size: 13px;
	color: #64748b;
	margin-top: 4px;
	display: inline-block;
}

.enhanced-error {
	margin-top: 8px;
	padding: 8px;
	background: #fee2e2;
	border-left: 4px solid #ef4444;
	border-radius: 6px;
	color: #b91c1c;
}

.enhanced-btn {
	padding: 10px 20px !important;
	font-size: 15px !important;
	border-radius: 8px !important;
	background: #3b82f6 !important;
	border: none !important;
	transition: 0.2s;
}

.enhanced-btn:hover {
	background: #2563eb !important;
}


.input_email{
	width: 100%;
}

.import-head{
	margin-top: 0px;
	margin-bottom: -5px;
}


/* Main box */
.ucg-import-wrapper {
    background: #ffffff;
    border: 1px solid #d8d8d8;
    padding: 25px;
    border-radius: 10px;
    max-width: 95%;
    margin-top: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

/* Header */
.import-head {
    margin-top: 0;
    font-size: 20px;
    font-weight: 600;
}

/* Divider */
.ucg-divider {
    margin: 10px 0 20px 0;
    border: 0;
    height: 1px;
    background: #e5e5e5;
}

/* Label styling */
.ucg-upload-label {
    font-weight: 600;
    text-align: center;
    gap: 8px;
    margin-bottom: 0px;
    margin-top: 35px;
    display: block;
	font-size: 14px;
}

/* Icon */
.ucg-upload-icon {
    font-size: 20px;
    width: 20px;
    height: 20px;
    color: #2271b1;
}

/* Small text */
.ucg-file-size {
    color: #666;
    font-weight: normal;
}

/* File input */
.ucg-file-input {
    width: 45%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-top: 15px;
    background: #fafafa;
    margin-bottom: 10px;
}

/* Submit container */
.ucg-submit-container {
    margin-top: 10px;
	margin-left: -25px;
}

/* Submit button */
.ucg-submit-btn {
    padding: 6px 25px !important;
    border-radius: 6px !important;
}

/* Bottom description text */
.ucg-sample-text {
    margin-top: 20px !important;
	text-align: left;
}

/* Download button */
.ucg-sample-btn {
    border-radius: 6px !important;
}

.ucg-sample-link-wrapper {
    margin-top: 5px !important;
	text-align: left;
}




.coupon-select{
	width: 100%;
}

/* ============================
   NEW BULK GENERATE DESIGN
   ============================ */

.ucg-bulk-box {
    border: 1px solid #d0d7e2;
    border-radius: 12px;
    background: #ffffff;
    margin: 10px 0;
    padding: 0;
    overflow: hidden;
}

.ucg-section-title {
    
    padding: 16px 20px;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
	margin-bottom: -20px;
}

.ucg-card-body {
    padding: 25px 20px;
}

.ucg-radio-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.ucg-radio {
    background: #f8fafc;
    border: 1px solid #d9e0ea;
    padding: 12px 15px;
    border-radius: 8px;

}

.ucg-radio input {
    margin-right: 8px;
    transform: scale(1.2);
}

.ucg-radio span {
    font-weight: 600;
    color: #1e293b;
}

.ucg-note {
    font-size: 12px;
	font-weight: 500;
    margin-left: 5px;
    margin-top: 4px;
    color: #64748b;
}

.ucg-field {
    margin-bottom: 20px;
}

.ucg-field label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #1e293b;
}

.ucg-field input[type="text"],
.ucg-field input[type="number"] {
    width: 100%;
    max-width: 405px;
    padding: 10px 12px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
}

.ucg-fieldset {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    padding: 15px;
    background: #ecf3fb;
    border-radius: 10px;
    border: 1px dashed #0369a1;
}


.ucg-par{
	margin-top: -35px;
	font-weight: 500;
	font-size: 13px;
}