.form-table th { padding: 10px 10px 10px 0; }
.form-table td { padding: 10px 10px; }
.sd-cat-title{
    font-size:1.35rem;
    margin:3rem 0 1.2rem;
    line-height:1.2;
    display:flex;align-items:center;gap:.65rem;
    color:#222;
}

/* thin accent bar on the left */
.sd-cat-title::before{
    content:"";
    height:1.2em;
    width:4px;
    border-radius:2px;
    background:#5c6df5;
    display:inline-block;
}

/* subtle bottom divider so cards "float" below the title */
.sd-cat-title::after{
    content:"";
    flex:1;
    height:1px;
    background:#e5e5e5;
    margin-left:.8rem;
    position:relative;
    top:.35em;
}

/* ---- front-end cards: max 3 per row, 100% of column ---- */
.sd-documents{
	display:grid;
	grid-template-columns:repeat(3,1fr);
	gap:15px;
}
@media(max-width:800px){
	.sd-documents{grid-template-columns:repeat(2,1fr);}
}
@media(max-width:540px){
	.sd-documents{grid-template-columns:1fr;}
}

.sd-global-pass{margin-bottom:20px}
.sd-global-pass input{padding:8px;max-width:250px;border:1px solid #ccc;border-radius:4px}

.box{border:1px solid #e1e1e1;padding:15px;border-radius:6px;width:100%}

.disabledLink{opacity:.5;cursor:not-allowed;background-color:#141414!important;}

/* ─── NEW: stack multiple download buttons ─── */
.sd-doc .sd-download{display:block}               /* each anchor on its own line   */
.sd-doc .sd-download + .sd-download,
.download-button + .pdfLink
{margin-top:5px} /* 5 px gap above 2nd button */

/* Download button styling for anchor tags */
.entry-content a.download-button {
	position: relative;
	background-color: #007BFF !important;
	text-decoration: none;
	/* remove underline */
	color: #fff;
	cursor: pointer;
	font-size: 1em;
	transition: background-color 0.3s ease;
	display: block;
	width: 100%;
	height: 40px;
	/* fixed height */
	overflow: hidden;
	/* to clip sliding content */
	border-radius: 5px;
	opacity: 1;
}

.entry-content a.download-button:hover {
	background-color: #0056b3;
	color: #fff;
}
/* Hover state: text slides upward (off-screen), icon slides into center */

/* Button text and icon positioning */
.btn-text,
.btn-icon {
	position: absolute;
	left: 0;
	right: 0;
	text-align: center;
	top: 50%;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Default state: text centered, icon off-screen (below) */
.btn-text {
	transform: translateY(-50%);
	opacity: 1;
}

.btn-icon {
	transform: translateY(calc(-50% + 40px));
	opacity: 0;
}
.quickModalButton {
	display: inline-block;
	margin-right: 5px;
	padding: 5px 10px;
	background-color: #4CAF50;
	color: #fff;
	text-decoration: none;
	border-radius: 3px;
	font-size: 14px;
	border: none;
	cursor: pointer;
}
.box-title {
	font-size: 22px;
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	line-height: 1.4;
}
.box-title i {
	margin-right: 10px;
}
.box-description {
	flex-grow: 1;
	margin-bottom: 20px;
}
.box {
	background-color: #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	display: flex;
	flex-direction: column;
	transition: transform 0.3s ease;
	border: 1px solid #e1e1e1;
	padding: 15px;
	border-radius: 6px;
	width: 100%;
}
@media (hover: hover) and (pointer: fine) {
	.box:hover {
		transform: translateY(-10px);
	}
}