.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 25px;
}
.switch input { display: none; }
.slider {
    position: absolute;
    cursor: pointer;
    background-color: #F39393;
    transition: .4s;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 25px;
}
.slider:before {
    content: "";
    height: 19px;
    width: 19px;
    background-color: white;
    position: absolute;
    bottom: 3px;
    left: 4px;
    border-radius: 50%;
    transition: .4s;
}
input:checked + .slider {
    background-color: #38b66d;
}
input:checked + .slider:before {
    transform: translateX(24px);
}

#invoice-preview {
    font-weight: bold;
    display: inline-block;
    margin-top: 5px;
}

.gst-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.gst-rate-input {
	width: 50px !important;
	padding: 6px 8px;
	font-size: 14px;
	border: 1px solid #ccd0d4;
	border-radius: 4px;
	box-sizing: border-box;
	background-color: #fff;
}

.gst-label {
    min-width: 100px;
    font-weight: 500;
}

/* One Click Solutions Buttons */
.one-click-solutions {
    margin-top: 40px;
    padding-top: 10px;
    border-top: 1px solid #ddd;
}

.one-click-form {
    margin-bottom: 20px;
}

.one-click-form p.description {
    margin: 5px 0 15px;
    color: #555;
}

.gst-action-button {
    width: 150px;
    padding: 10px 16px;
    font-weight: 600;
    border-radius: 8px;
    margin-bottom: 5px;
    background-color: #00aab7;
    color: #fff;
    border: none;
    transition: all 0.2s ease-in-out;
}

.gst-action-button:hover {
    background-color: #008c99;
    transform: translateY(-1px);
    cursor: pointer;
}

.gst-action-button2 {
    width: 150px;
    padding: 10px 16px;
    font-weight: 600;
    border-radius: 8px;
    margin-bottom: 5px;
    background-color: #ff5e57;
    color: #fff;
    border: none;
    transition: all 0.2s ease-in-out;
}

.gst-action-button2:hover {
    background-color: #e3463e;
    transform: translateY(-1px);
    cursor: pointer;
}


.gst-action-notice-button {
    background-color: #00aab7;
    color: #fff;
    border: none;
    padding: 8px 14px;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
}

.gst-action-notice-button:hover {
    background-color: #0096a1;
    color: #fff;
}

.gst-modern-warning {
    max-width: 800px;
    margin: 30px 0 20px;
    padding: 15px 20px;
    background-color: #fff8e1;
    border-left: 5px solid #ffc107;
    border-radius: 6px;
    font-size: 14px;
    color: #5a4600;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.gst-modern-warning p {
    margin: 0;
    padding: 0;
    line-height: 1.5;
}

/* --- Dropdown Container --- */
.indian-gst-template-dropdown select {
	min-width: 200px;
	padding: 6px;
	font-size: 14px;
}

/* Main wrapper: two-column layout */
.invoice-settings-wrapper {
	display: flex;
	align-items: flex-start;
	gap: 40px;
	margin-top: 20px;
}

/* Spacing between sections */
.form-table {
	margin-bottom: 25px;
}

input.small-text {
	width: 200px !important;
	padding: 6px 8px;
	font-size: 14px;
	border: 1px solid #ccd0d4;
	border-radius: 4px;
	box-sizing: border-box;
	background-color: #fff;
}

/* Left side column */
.invoice-settings-left {
	min-width: 300px;
}

/* Right panel (preview box) */
.invoice-settings-right {
	width: 400px;
	background: #fff;
	border: 1px solid #ccc;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
	padding: 10px;
	box-sizing: border-box;
}

/* Preview image */
.invoice-settings-right img {
	width: 100%;
	height: auto;
	display: block;
}

/* Below code is moved inline css */

.gst-state-warning {
    margin-top: 10px;
}

.gst-oneclick-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 600px;
}

.gst-oneclick-header h3 {
    margin: 0;
}

.gst-warning-desc {
    color: #cc0000;
    font-weight: bold;
}

.gst-warning-heading {
    margin-bottom: 20px;
    font-size: 16px;
    color: #cc0000;
}

.gst-warning-strong {
    color: #cc0000;
}
