/**
 * Admin Styles
 *
 * @package SFR_Talk_Recorder
 * @since 0.1.0
 */

.sfrtr-dashboard {
	max-width: 1200px;
}

.sfrtr-dashboard-content {
	margin-top: 20px;
}

.sfrtr-main-section {
	background: #fff;
	border: 1px solid #ccd0d4;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
	padding: 20px;
	margin-bottom: 20px;
}

.sfrtr-welcome-box {
	text-align: center;
	padding: 40px 20px;
}

.sfrtr-welcome-box h2 {
	margin-top: 0;
}

.sfrtr-welcome-box p {
	font-size: 16px;
	color: #646970;
	margin-bottom: 30px;
}

.sfrtr-start-recording {
	font-size: 18px;
	height: 60px;
	padding: 0 30px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.sfrtr-start-recording .dashicons {
	font-size: 24px;
	width: 24px;
	height: 24px;
}

.sfrtr-browser-warning {
	margin: 20px 0;
}

.sfrtr-history-section {
	background: #fff;
	border: 1px solid #ccd0d4;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
	padding: 20px;
}

.sfrtr-help-section {
	margin-bottom: 20px;
}

.sfrtr-help-section h2 {
	margin-top: 0;
	border-bottom: 1px solid #dcdcde;
	padding-bottom: 10px;
}

.sfrtr-help-section h3 {
	margin-top: 20px;
	margin-bottom: 10px;
	font-size: 16px;
}

.sfrtr-help-section h3:first-of-type {
	margin-top: 0;
}

.sfrtr-help-content ul,
.sfrtr-help-content ol {
	margin: 10px 0;
	line-height: 1.8;
}

.sfrtr-help-content p {
	margin: 10px 0;
	line-height: 1.6;
}

.sfrtr-help-content em {
	color: #646970;
}

.sfrtr-history-section h2 {
	margin-top: 0;
}

.sfrtr-delete-recording {
	color: #b32d2e;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.sfrtr-delete-recording:hover {
	color: #dc3232;
}

.sfrtr-delete-recording .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
}

.sfrtr-play-recording {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.sfrtr-play-recording .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
}

.sfrtr-history-section td small {
	display: block;
	margin-top: 5px;
}

.sfrtr-history-section td small a {
	text-decoration: none;
}

.sfrtr-upload-to-media {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.sfrtr-upload-to-media .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
}

.spinning {
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* Status badges */
.sfrtr-status-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 4px 8px;
	border-radius: 3px;
	font-size: 12px;
	font-weight: 500;
}
.sfrtr-status-uploaded {
	background: #d4edda;
	color: #155724;
}
.sfrtr-status-available {
	background: #d1ecf1;
	color: #0c5460;
}
.sfrtr-status-lost {
	background: #f8d7da;
	color: #721c24;
}
.sfrtr-status-checking {
	background: #fff3cd;
	color: #856404;
}
.sfrtr-status-unknown {
	background: #e2e3e5;
	color: #383d41;
}
.sfrtr-status-badge .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
}
.sfrtr-status-checking .dashicons {
	animation: spin 1s linear infinite;
}

/* Recordings page */
.sfrtr-recordings-page {
	max-width: 1400px;
}
.sfrtr-recordings-section {
	background: #fff;
	border: 1px solid #ccd0d4;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
	padding: 20px;
}
.sfrtr-search-box {
	margin-bottom: 15px;
}
.sfrtr-search-input {
	width: 300px;
	padding: 5px;
}

