/* ==========================================================
	Extendmate Session Manager – Stylesheet
	==========================================================

	TABLE OF CONTENTS
	----------------------------------------------------------
	1. Session Modal
	2. Disabled & Status States
	3. Loading & Spinner
	4. Profile Page Adjustments
	5. Visibility Helpers
	6. Grid Settings Form
	7. Responsive Modal Styles

	========================================================== */

/* ==========================================================
	1. Session Modal
	========================================================== */

#emsm-session-modal {
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
}

#emsm-session-modal .modal-content {
	background: #fff;
	width: 95%;
	max-height: 90%;
	overflow-y: auto;
	margin: 2% auto;
	padding: 20px;
	position: relative;
	border-radius: 8px;
}

#emsm-session-modal .close {
	position: absolute;
	right: 35px;
	top: 35px;
	font-size: 35px;
	cursor: pointer;
}

.emsm-view-sessions {
	cursor: pointer;
}

.emsm-modal-container {
	display: none;
}

.emsm-modal-container .description {
	font-weight: 400;
	font-size: 18px;
}

/*  ==========================================================
	2. Disabled & Status States
	========================================================== */

.emsm-disabled {
	cursor: not-allowed;
	pointer-events: none;
	color: #666;
}

.emsm-danger {
	color: #ff0000;
}

/* ==========================================================
	3. Loading & Spinner
	========================================================== */

.emsm-is-loading {
	opacity: 0.5;
	pointer-events: none;
}

.emsm-spinner {
	float: none;
}

/*  ==========================================================
	4. Profile Page Adjustments
	========================================================== */

	.destroy-sessions .emsm-view-sessions {
	margin-left: 10px;
	}

/*  ==========================================================
	5. Visibility Helpers
	========================================================== */

.emsm-hide {
	display: none !important;
}

/*  ==========================================================
	6. Grid Settings Form
	========================================================== */

.emsm-page-info {
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
	align-items: center;
}

.emsm-page-info h1 {
	margin-right: 10px;
}

#emsm_grid_setting fieldset {
	display: flex;
	flex-wrap: wrap;
}

#emsm_grid_setting legend {
	font-weight: 600;
	margin-bottom: 8px;
	padding-top: 10px;
}

#emsm_grid_setting .emsm_button_container {
	margin-top: 10px;
}

.emsm-button .dashicons {
	line-height: inherit;
	width: auto;
	height: auto;
	font-size: small;
}

/*  ==========================================================
	7. Responsive Modal Styles
	========================================================== */

@media screen and (max-width: 767px) {
	#emsm-session-modal .modal-content {
	margin: 10% auto;
	width: 90%;
	}
}
