/* DreamDate Admin Styles */

.dreamdate-admin {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* Dashboard Layout */
.dreamdate-dashboard {
	margin-top: 20px;
}

.dreamdate-stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
	margin-bottom: 30px;
}

.dreamdate-stat-card {
	background: white;
	border-left: 4px solid #e84855;
	border-radius: 4px;
	padding: 20px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.dreamdate-stat-card h3 {
	margin: 0 0 10px;
	font-size: 14px;
	color: #666;
	text-transform: uppercase;
}

.stat-number {
	font-size: 32px;
	font-weight: bold;
	color: #e84855;
	margin: 0;
}

/* Panels */
.dreamdate-panel {
	background: white;
	border-radius: 4px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.1);
	padding: 20px;
	margin-bottom: 20px;
}

.dreamdate-panel h2 {
	margin-top: 0;
	margin-bottom: 15px;
	padding-bottom: 10px;
	border-bottom: 2px solid #e84855;
	color: #333;
}

/* Settings Grid */
.dreamdate-settings-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
}

.dreamdate-panel .form-table {
	margin-bottom: 0;
}

.dreamdate-panel .form-table th {
	width: 40%;
	text-align: left;
	font-weight: 600;
}

.dreamdate-panel input[type="text"],
.dreamdate-panel input[type="number"],
.dreamdate-panel input[type="email"],
.dreamdate-panel textarea,
.dreamdate-panel select {
	width: 100%;
	max-width: 400px;
}

/* Tables */
.dreamdate-panel .widefat {
	margin-top: 15px;
}

.dreamdate-panel .widefat thead {
	background-color: #f5f5f5;
}

.dreamdate-panel .widefat tbody tr:nth-child(odd) {
	background-color: #fafafa;
}

.dreamdate-panel .widefat tbody tr:hover {
	background-color: #f0f0f0;
}

/* Buttons */
.dreamdate-admin .button {
	background: #e84855;
	border-color: #e84855;
	color: white;
	text-decoration: none;
	padding: 8px 16px;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
	margin-right: 5px;
	transition: background 0.2s ease;
}

.dreamdate-admin .button:hover {
	background: #a61e4d;
	border-color: #a61e4d;
}

.dreamdate-admin .button-secondary {
	background: #f0f0f0;
	border-color: #ddd;
	color: #333;
}

.dreamdate-admin .button-secondary:hover {
	background: #e0e0e0;
}

.dreamdate-admin .button-danger {
	background: #dc3545;
	border-color: #dc3545;
}

.dreamdate-admin .button-danger:hover {
	background: #c82333;
	border-color: #c82333;
}

/* Recent Activity */
.dreamdate-recent-activity {
	margin-top: 30px;
}

.dreamdate-recent-activity .widefat {
	width: 100%;
}

/* Form Groups */
.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: #333;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="email"],
.form-group textarea,
.form-group select {
	width: 100%;
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
}

.form-group input[type="text"]:focus,
.form-group input[type="number"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus,
.form-group select:focus {
	outline: none;
	border-color: #e84855;
	box-shadow: 0 0 0 3px rgba(232, 72, 85, 0.1);
}

/* Alert Messages */
.notice {
	background: white;
	border-left: 4px solid #e84855;
	padding: 12px;
	margin-bottom: 20px;
}

.notice.notice-success {
	border-left-color: #4caf50;
}

.notice.notice-warning {
	border-left-color: #ff9800;
}

.notice.notice-error {
	border-left-color: #dc3545;
}

/* Responsive */
@media (max-width: 768px) {
	.dreamdate-stats-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.dreamdate-settings-grid {
		grid-template-columns: 1fr;
	}

	.dreamdate-panel .form-table th {
		width: 100%;
	}

	.dreamdate-panel .form-table td {
		padding: 10px 0;
	}
}
