/**
 * Elemental Starter Theme - Admin Styles
 * Beautiful admin interface for theme documentation
 */

/* Container */
.elemental-theme-admin {
	margin-left: -20px;
}

.elemental-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Hero */
.elemental-hero {
	padding: 3rem 2rem;
	margin: 20px 0;
	border-radius: 8px;
	text-align: center;
}

.elemental-hero-primary {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
}

.elemental-hero-info {
	background: linear-gradient(135deg, #3298dc 0%, #2366d1 100%);
	color: white;
}

.elemental-hero-title {
	font-size: 3rem;
	font-weight: 700;
	margin: 0 0 1rem 0;
	color: white;
}

.elemental-hero-title .dashicons {
	font-size: 1.2em;
	width: 1.2em;
	height: 1.2em;
	vertical-align: middle;
}

.elemental-hero-subtitle {
	font-size: 1.5rem;
	opacity: 0.95;
	margin: 0;
}

/* Section */
.elemental-section {
	padding: 2rem 0;
}

/* Box */
.elemental-box {
	background: white;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	padding: 2rem;
	margin-bottom: 2rem;
	transition: all 0.3s ease;
}

.elemental-box:hover {
	box-shadow: 0 4px 15px rgba(102, 126, 234, 0.15);
}

.elemental-box-gradient {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
}

.elemental-box-highlighted {
	border-left: 4px solid #667eea;
}

.elemental-box-donation {
	background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 215, 0, 0.05) 100%);
	border: 3px solid #ffd700;
}

/* Centered Box */
.elemental-centered-box {
	max-width: 75%;
	margin: 0 auto;
}

/* Grids */
.elemental-grid-3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	margin: 2rem 0;
}

.elemental-grid-5 {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 1.5rem;
	margin: 2rem 0;
}

/* Feature Box */
.elemental-feature-box {
	text-align: center;
	transition: all 0.3s ease;
}

.elemental-feature-box:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 20px rgba(102, 126, 234, 0.2);
}

/* Icons */
.elemental-icon-large {
	font-size: 96px !important;
	width: 96px !important;
	height: 96px !important;
	margin: 0 auto 1rem auto;
	display: flex;
	align-items: center;
	justify-content: center;
}

.elemental-icon-large .dashicons,
.elemental-icon-large .dashicons::before {
	font-size: 96px !important;
	width: 96px !important;
	height: 96px !important;
	line-height: 96px !important;
}

/* Titles */
.elemental-title-2 {
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 1.5rem;
	color: #363636;
}

.elemental-title-2 .dashicons {
	font-size: 1.5em;
	width: 1.5em;
	height: 1.5em;
	vertical-align: middle;
	margin-right: 0.25em;
}

.elemental-title-4 {
	font-size: 1.25rem;
	font-weight: 600;
	margin: 1.5rem 0 0.75rem 0;
	color: #363636;
}

/* Content */
.elemental-content {
	font-size: 1rem;
	line-height: 1.6;
}

.elemental-content-large {
	font-size: 1.25rem;
	line-height: 1.6;
}

.elemental-content p {
	margin-bottom: 1rem;
}

.elemental-content ul,
.elemental-content ol {
	margin: 1rem 0 1rem 2rem;
}

.elemental-content li {
	margin-bottom: 0.5rem;
}

.elemental-lead {
	font-size: 1.25rem;
	font-weight: 500;
	margin-bottom: 1.5rem;
}

/* Code Blocks */
.elemental-code-block {
	background: #f5f5f5;
	border-left: 4px solid #667eea;
	padding: 1rem;
	margin: 1rem 0;
	border-radius: 4px;
	overflow-x: auto;
}

.elemental-code-block pre {
	margin: 0;
	white-space: pre-wrap;
	font-family: 'Courier New', monospace;
	font-size: 0.875rem;
	line-height: 1.5;
}

.elemental-code-block code {
	background: transparent;
	padding: 0;
	font-family: 'Courier New', monospace;
	color: #667eea;
	font-weight: 600;
}

/* Table of Contents */
.elemental-toc ol {
	list-style: decimal;
	margin-left: 2rem;
}

.elemental-toc a {
	color: #667eea;
	text-decoration: none;
	font-weight: 500;
	font-size: 1.1rem;
}

.elemental-toc a:hover {
	color: #764ba2;
	text-decoration: underline;
}

/* Notifications */
.elemental-notification {
	padding: 1.25rem;
	border-radius: 4px;
	margin: 1.5rem 0;
	border-left: 4px solid;
}

.elemental-notification-info {
	background: #eef6fc;
	border-left-color: #3298dc;
	color: #1d72aa;
}

.elemental-notification-success {
	background: #effaf3;
	border-left-color: #48c774;
	color: #257942;
}

.elemental-notification-warning {
	background: #fffbeb;
	border-left-color: #ffe08a;
	color: #946c00;
}

.elemental-notification p {
	margin: 0.5rem 0;
}

.elemental-notification ul {
	margin: 0.5rem 0 0.5rem 2rem;
}

/* Stats */
.elemental-stat {
	text-align: center;
}

.elemental-stat-number {
	font-size: 3rem;
	font-weight: 700;
	color: white;
	margin-bottom: 0.5rem;
}

.elemental-stat-label {
	font-size: 1rem;
	color: rgba(255, 255, 255, 0.9);
	text-transform: uppercase;
	letter-spacing: 1px;
}

/* Buttons */
.elemental-button {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	border-radius: 4px;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
}

.elemental-button-primary {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
}

.elemental-button-info {
	background: linear-gradient(135deg, #3298dc 0%, #2366d1 100%);
	color: white;
}

.elemental-button-large {
	font-size: 1.25rem;
	padding: 1rem 2rem;
}

.elemental-button:hover {
	transform: translateY(-3px) scale(1.05);
	box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.elemental-button .dashicons {
	font-size: 1.25em;
	width: 1.25em;
	height: 1.25em;
}

.elemental-buttons {
	display: flex;
	gap: 1rem;
	justify-content: center;
	margin-top: 1.5rem;
}

/* Utilities */
.elemental-text-center {
	text-align: center;
}

.elemental-text-primary {
	color: #667eea;
}

.elemental-text-success {
	color: #48c774;
}

.elemental-text-info {
	color: #3298dc;
}

.elemental-text-warning {
	color: #ffe08a;
}

.elemental-text-danger {
	color: #f14668;
}

.elemental-text-link {
	color: #3273dc;
}

.elemental-text-white {
	color: white;
}

/* Responsive */
@media screen and (max-width: 768px) {
	.elemental-grid-3 {
		grid-template-columns: 1fr;
	}
	
	.elemental-grid-5 {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.elemental-hero-title {
		font-size: 2rem;
	}
	
	.elemental-hero-subtitle {
		font-size: 1.25rem;
	}
	
	.elemental-centered-box {
		max-width: 100%;
	}
	
	.elemental-buttons {
		flex-direction: column;
	}
	
	.elemental-button {
		width: 100%;
		justify-content: center;
	}
}

/* Animations */
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.elemental-box {
	animation: fadeIn 0.5s ease backwards;
}

.elemental-grid-3 > *:nth-child(1) { animation-delay: 0.1s; }
.elemental-grid-3 > *:nth-child(2) { animation-delay: 0.2s; }
.elemental-grid-3 > *:nth-child(3) { animation-delay: 0.3s; }

