/**
 * Admin CSS for SafeTemp Login
 *
 * @package    SafeTempLogin
 * @subpackage SafeTempLogin/admin/css
 * @author     Cyfer
 */

.safetemp-payload {
	background: #f9f9f9;
	border: 1px solid #ddd;
	padding: 10px;
	max-height: 300px;
	overflow: auto;
	font-size: 12px;
}

.safetemp-payload pre {
	margin: 0;
	font-family: Consolas, Monaco, "Courier New", monospace;
	white-space: pre-wrap;
	word-wrap: break-word;
}

.status-pending {
	color: #d63638;
	font-weight: bold;
}

.status-approved {
	color: #0073aa;
}

.status-executed {
	color: #00a32a;
}

.status-denied {
	color: #b32d2e;
}

.status-failed {
	color: #d63638;
}

.status-logged {
	color: #50575e;
}

/* Admin container with sidebar layout */
.safetemp-admin-container {
	display: flex;
	gap: 20px;
	margin-top: 20px;
}

.safetemp-admin-content {
	flex: 1;
	min-width: 0;
}

.safetemp-admin-sidebar {
	width: 300px;
	flex-shrink: 0;
}

.safetemp-sidebar-box {
	margin-bottom: 20px;
}

.safetemp-sidebar-box h3 {
	margin-top: 0;
}

.safetemp-sidebar-box ul {
	margin-left: 20px;
}

.safetemp-sidebar-box a {
	text-decoration: none;
}

.safetemp-sidebar-box a:hover {
	text-decoration: underline;
}

/* Status indicators */
.safetemp-status-expired {
	color: #d63638;
	font-weight: bold;
}

.safetemp-status-active {
	color: #00a32a;
	font-weight: bold;
}

/* Edit user form */
.safetemp-edit-user-form {
	background: #fff;
	padding: 20px;
	border: 1px solid #ccd0d4;
	border-radius: 4px;
	margin-bottom: 20px;
}

/* Responsive */
@media screen and (max-width: 782px) {
	.safetemp-admin-container {
		flex-direction: column;
	}
	
	.safetemp-admin-sidebar {
		width: 100%;
	}
}

