.indian-gst-addon-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin-top: 20px;
}

.indian-gst-addon-card {
	flex: 0 1 320px;
	border: 1px solid #ddd;
	border-radius: 8px;
	background: #fff;
	padding: 20px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	position: relative;
	overflow: hidden;
}

.indian-gst-addon-card .addon-name {
	font-size: 20px;
	margin-bottom: 10px;
	color: #333;
}

.indian-gst-addon-card .addon-description {
	font-size: 14px;
	text-align: justify;
	color: #555;
	margin-bottom: 15px;
	min-height: 60px;
}

.indian-gst-addon-card .button-container {
	text-align: center;
	margin-top: 15px;
}

.indian-gst-addon-card .toggle-button,
.indian-gst-addon-card .toggle-button2 {
	width: 150px;
	padding: 10px 16px;
	font-weight: 600;
	border-radius: 8px;
	margin-bottom: 5px;
	border: none;
	display: inline-block;
	transition: all 0.2s ease-in-out;
}

.indian-gst-addon-card .toggle-button {
	background-color: #00AD14;
	color: #fff;
}

.indian-gst-addon-card .toggle-button:hover {
	background-color: #018710;
	transform: translateY(-1px);
	cursor: pointer;
}

.indian-gst-addon-card .toggle-button2 {
	background-color: #ff5e57;
	color: #fff;
}

.indian-gst-addon-card .toggle-button2:hover {
	background-color: #e3463e;
	transform: translateY(-1px);
	cursor: pointer;
}

.indian-gst-addon-card a {
	text-decoration: none !important;
}

/* ============================
   Corner Ribbon (Top Right)
   ============================ */
.addon-ribbon {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 10;
	pointer-events: none;
}

/* Diagonal ribbon stripe */
.addon-ribbon span {
	position: absolute;
	display: block;
	width: 180px;
	padding: 8px 0;
	background: #28a745; /* fallback */
	color: #fff;
	text-align: center;
	font-size: 14px;
	font-weight: bold;
	text-transform: uppercase;
	transform: rotate(45deg);
	top: 17px;
	right: -55px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.2);
	font-family: 'Arial', sans-serif;
}

/* FREE – green */
.ribbon-free span {
	background: linear-gradient(to right, #28a745, #1e7e34);
	color: #fff;
}

/* PAID – red */
.ribbon-paid span {
	background: linear-gradient(to right, #dc3545, #a71d2a);
	color: #fff;
}

/* Pro – golden */
.ribbon-pro span {
	background: linear-gradient(to right, #f5d742, #c8a000);
	color: #FF0000;
}

/* POPULAR – sky blue */
.ribbon-popular span {
	background: linear-gradient(to right, #17a2b8, #007bff);
	color: #fff;
}


/* Dependency Notice (Box Style) */
.indian-gst-addon-requirements {
    margin: 10px 0;
    text-align: center;
    border-radius: 4px;
    overflow: hidden;
}

.indian-gst-addon-requirements .requirement-title {
    background-color: #dc3232;
    color: #fff;
    font-weight: bold;
    padding: 6px 0;
    font-size: 14px;
    text-transform: uppercase;
}

.indian-gst-addon-requirements .requirement-list {
    background-color: #fff;
    border: 1px solid #dc3232;
    border-top: none;
    padding: 6px 0;
    font-size: 13px;
    color: #000;
}

/* Greyed-out locked addon */
.indian-gst-addon-card.addon-locked {
    position: relative;
    pointer-events: none; /* block all interactions except button */
}

/* Overlay to create greyed-out effect */
.indian-gst-addon-card.addon-locked::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(243, 243, 243, 0.4); /* grey overlay */
    z-index: 1;
    border-radius: 8px;
}

/* Buy button should stay active and visible */
.indian-gst-addon-card.addon-locked .buy-button {
    position: relative;
    z-index: 2;              /* Above overlay */
    pointer-events: auto;    /* clickable */
    background-color: #0073aa;
    color: white;
    width: 150px;
    padding: 10px 16px;
    font-weight: 600;
    border-radius: 8px;
    margin-bottom: 5px;
    border: none;
    text-align: center;
    display: inline-block;
    cursor: pointer;
    transition: background 0.3s;
}

/* Hover effect */
.indian-gst-addon-card.addon-locked .buy-button:hover {
    background-color: #005c87;
	transform: translateY(-1px);
}

/* Version Circle */
.addon-version-circle {
	position: absolute;
	top: 15px;
	left: 15px;
	background-color: orange;
	color: white;
	font-size: 11px;
	font-weight: bold;
	border-radius: 50%;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Version Prism */
.addon-version-prism {
	position: absolute;
	top: 40px;
	left: 15px;
	background: linear-gradient(135deg, #ff8c00, #ff6600);
	color: white;
	font-size: 11px;
	font-weight: bold;
	width: 55px;
	height: 20px; /* slightly taller for better centering */
	display: flex;
	align-items: center; /* vertical centering */
	justify-content: center; /* horizontal centering */
	clip-path: polygon(
		25% 0%, 75% 0%, 
		100% 50%, 75% 100%, 
		25% 100%, 0% 50%
	);
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}


/* Addon Status (Active/Inactive) */
.indian-gst-addon-card .addon-status {
	margin: 10px 0;
	font-weight: 600;
	display: flex;
	justify-content: center; /* Center horizontally */
	align-items: center;
	gap: 8px;
	font-size: 9px;
}

/* Common badge style */
.indian-gst-addon-card .addon-status .active,
.indian-gst-addon-card .addon-status .inactive {
	padding: 6px 14px;
	border-radius: 20px;
	font-size: 9px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.20); /* Base shadow */
}

/* Active Style */
.indian-gst-addon-card .addon-status .active {
	background: linear-gradient(135deg, #4caf50, #2e7d32);
	color: #fff;
	box-shadow: 0 0 10px rgba(76, 175, 80, 0.9), 0 0 25px rgba(76, 175, 80, 0.6);
}

/* Inactive Style */
.indian-gst-addon-card .addon-status .inactive {
	background: linear-gradient(135deg, #f44336, #c62828);
	color: #fff;
	box-shadow: 0 0 10px rgba(244, 67, 54, 0.9), 0 0 25px rgba(244, 67, 54, 0.6);
}

/* Installed / Not Installed Label */
.addon-install-status {
    position: absolute;
    top: 10px;
    left: -7px;
	width: 70px;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    border-radius: 6px;
    line-height: 1.3;
    display: inline-block;
}

/* Colors */
.addon-installed {
    background-color: #228B22; /* green */
}

.addon-not-installed {
    background-color: #d9534f; /* red */
}

/* ADDON INFORMATION BOX */
.indian-gst-addon-info {
    margin-top: 25px;
    padding: 20px;
	width: 95%;
    background: #E3FAE6;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.indian-gst-addon-info h4 {
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    padding-bottom: 8px;
}

/* Horizontal line below h4 */
.indian-gst-addon-info h4::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;       /* Thickness of the line */
    background: #ddd;  /* Line color */
    margin-top: 15px;   /* Space between text and line */
    border-radius: 1px;
}

.addon-info-table {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.addon-info-row {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.addon-info-title {
    flex: 0 0 180px; /* fixed width for titles to align */
    font-weight: 600;
    color: #555;
}

.addon-info-desc {
    flex: 1;
    color: #666;
    line-height: 1.4;
}

/* Disabled Button */
.disabled {
    pointer-events: none;   /* Prevents click */
    opacity: 0.6;           /* Makes it look faded */
    cursor: not-allowed;    /* Shows disabled cursor */
    background-color: #ccc; /* Grey background */
    color: #666;            /* Faded text */
    border: 1px solid #aaa; /* Subtle border */
}
