.suretriggers-nobase {
    position: fixed;
    top: 50px;
    height: calc(100% - 50px);
    width: -webkit-fill-available;
}

.suretriggers-nobase > div {
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    width: 100%; 
    height: 100%;
}

.suretriggers-nobase > div > div {
    width: 550px; 
    max-width: 800px; 
    margin: 0 auto; 
    background: white; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
    border-radius: 8px; 
    padding: 40px; 
    text-align: center;
}

.suretriggers-info-title {
    text-align: center; font-size: 1.5rem; font-weight: 600; color: #111827; margin-bottom: 16px;
}

.suretriggers-info-content {
    font-size: 0.875rem; color: #6b7280; margin-bottom: 16px;
}

.suretriggers-info-link {
    --primary: #145485;--primary-foreground: #f8fafc;color: var(--primary-foreground);background-color: var(--primary);display: inline-block; padding: 10px 20px; border-radius: 6px; font-size: 1rem; text-decoration: none; margin-bottom: 16px;
}

.suretriggers-info-link:active, .suretriggers-info-link:hover, .suretriggers-info-link:focus {
    --primary: #145485;--primary-foreground: #f8fafc;color: var(--primary-foreground);background-color: var(--primary);
}

/* General Admin Page Styling */
.admin-page {
    background: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 5px;
}

.suretriggers-nav-tab {
    margin: 1.5em 0 1em;
}

.suretriggers-system-table {
    margin-bottom: 1em;
}

.suretriggers-system-table h2 {
    font-size: 14px;
    font-weight: 600;
}

.suretriggers-system-table h5 {
    display: inline-block;
    font-size: 14px;
    font-weight: 800;
}

.suretriggers-system-table td svg {
    display: inline;
}

.suretriggers-system-table-trigger tbody tr {
    background-color: #f9f9f9;
}
.suretriggers-system-table-trigger tbody tr.odd-row {
    background-color: #ffffff;
}

table.suretriggers-system-table-trigger th, table.suretriggers-system-table-trigger td {
    border: 1px solid #e0dede;
}

table.suretriggers-system-table-trigger tr.integration-row {
    border-top: 1px solid #e0dede;
}

.st-permalink-warning-wrapper {
	display: flex;
	justify-content: center;
	margin-top: 24px;
}

.st-permalink-warning-card {
	background-color: #fffbeb;
	border: 1px solid #f4aa28;
	border-radius: 8px;
	padding: 20px 24px;
	width: 550px;
	display: flex;
	align-items: flex-start;
	gap: 12px;
	color: #a14800;
}

.st-permalink-warning-icon {
	background-color: #fff9e8;
	border: 1.5px solid #a14800;
	border-radius: 50%;
	width: 22px;
	height: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	margin-top: 3px;
}

.st-permalink-warning-icon-text {
	color: #a14800;
	font-size: 14px;
	font-weight: bold;
}

.st-permalink-warning-content {
	color: #a14800;
}

.st-permalink-warning-title {
	margin: 0 0 6px 0;
	font-weight: 600;
	font-size: 16px;
}

.st-permalink-warning-message {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.6;
}

.st-permalink-warning-link {
	color: #a14800;
	text-decoration: underline;
	font-weight: 500;
}

/* OttoKit Upgrade Button Styling - Enhanced Green Theme */
.ottokit-upgrade-btn {
	background: linear-gradient(135deg, #28a745 0%, #20a848 100%) !important;
	color: #fff !important;
	font-weight: 600 !important;
	padding: 6px 12px !important;
	border-radius: 6px !important;
	font-size: 12px !important;
	line-height: 1.3 !important;
	transition: all .3s ease !important;
	border: none !important;
	outline: none !important;
	text-decoration: none !important;
	display: inline-block !important;
	margin: 0 !important;
	box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3) !important;
	letter-spacing: 0.5px !important;
	white-space: nowrap !important;
	min-width: max-content !important;
}

.ottokit-upgrade-btn:hover {
	background: linear-gradient(135deg, #218838 0%, #1e7e34 100%) !important;
	color: #fff !important;
	transform: translateY(-1px) !important;
	box-shadow: 0 4px 8px rgba(40, 167, 69, 0.4) !important;
}

.ottokit-upgrade-btn:active {
	background: linear-gradient(135deg, #1e7e34 0%, #1c7430 100%) !important;
	transform: translateY(0) !important;
	box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3) !important;
}

/* Plugin action links styling */
.plugin-action-links .ottokit-upgrade-btn {
	margin: 0 !important;
}

/* Admin menu styling */
#adminmenu .ottokit-upgrade-btn {
	margin: 0 !important;
	vertical-align: baseline !important;
}


@media screen and (max-width: 782px) {
    .suretriggers-nobase > div {
        display: flex;  
        flex-direction: row;
        justify-content: center; 
        align-items: center; 
        height: 100%;
    }

    #suretriggers-requests-table-form .tablenav.top .actions {
        display: block;
        margin-bottom: 5px;
        width: 100%;
        text-align: center;
    }

    #suretriggers-requests-table-form .tablenav .actions select {
        float: none;
    }

    #suretriggers_filter_request {
        margin: 0;
    }
}