/* RedSocialter Core - Modern App UX/UI Responsive CSS */

:root {
	--rs-primary: #2563eb;
	--rs-primary-hover: #1d4ed8;
	--rs-secondary: #0f172a;
	--rs-success: #10b981;
	--rs-warning: #f59e0b;
	--rs-danger: #ef4444;
	--rs-bg: #f8fafc;
	--rs-card-bg: #ffffff;
	--rs-border: #e2e8f0;
	--rs-text: #0f172a;
	--rs-muted: #64748b;
	--rs-radius: 16px;
	--rs-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
}

.rsocialter-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 16px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
	color: var(--rs-text);
	box-sizing: border-box;
}

/* Directory Grid */
.rsocialter-directory-search {
	display: flex;
	gap: 12px;
	margin-bottom: 28px;
	flex-wrap: wrap;
}

.rsocialter-directory-search input {
	flex: 1;
	min-width: 220px;
	padding: 14px 18px;
	border: 1px solid var(--rs-border);
	border-radius: 12px;
	font-size: 15px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.rsocialter-btn {
	background: var(--rs-primary);
	color: #ffffff !important;
	border: none;
	padding: 12px 24px;
	border-radius: 12px;
	font-weight: 700;
	cursor: pointer;
	text-decoration: none !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
	box-shadow: 0 4px 12px rgba(37,99,235,0.2);
}

.rsocialter-btn:hover {
	background: var(--rs-primary-hover);
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(37,99,235,0.3);
}

.rsocialter-btn-whatsapp {
	background: #25d366 !important;
	color: #ffffff !important;
	font-weight: 700;
	box-shadow: 0 4px 12px rgba(37,211,102,0.3);
}

.rsocialter-btn-whatsapp:hover {
	background: #1eb956 !important;
	transform: translateY(-1px);
}

.rsocialter-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
}

@media (min-width: 640px) {
	.rsocialter-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.rsocialter-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.rsocialter-card {
	background: var(--rs-card-bg);
	border-radius: var(--rs-radius);
	border: 1px solid var(--rs-border);
	box-shadow: var(--rs-shadow);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rsocialter-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 30px -10px rgba(0,0,0,0.1);
}

.rsocialter-card-cover {
	height: 150px;
	background: #cbd5e1;
	background-size: cover;
	background-position: center;
}

.rsocialter-card-body {
	padding: 20px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.rsocialter-card-title {
	font-size: 18px;
	font-weight: 800;
	margin: 0 0 8px 0;
	line-height: 1.3;
}

.rsocialter-card-title a {
	color: var(--rs-secondary);
	text-decoration: none;
}

.rsocialter-card-meta {
	font-size: 13px;
	color: var(--rs-muted);
	margin-bottom: 12px;
}

.rsocialter-card-desc {
	font-size: 14px;
	line-height: 1.55;
	color: #475569;
	margin-bottom: 18px;
	flex: 1;
}

/* Single Profile View */
.rsocialter-profile-hero {
	position: relative;
	background: var(--rs-secondary);
	color: #fff;
	border-radius: 20px;
	overflow: hidden;
	margin-bottom: 28px;
	box-shadow: 0 10px 25px rgba(15,23,42,0.15);
}

.rsocialter-profile-banner {
	height: 240px;
	background-size: cover;
	background-position: center;
	opacity: 0.85;
}

.rsocialter-profile-header {
	padding: 28px;
	display: flex;
	gap: 24px;
	align-items: center;
	flex-wrap: wrap;
	background: rgba(15, 23, 42, 0.95);
}

.rsocialter-profile-logo {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	border: 4px solid #fff;
	object-fit: cover;
	background: #fff;
	box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.rsocialter-profile-info {
	flex: 1;
}

.rsocialter-profile-info h1 {
	font-size: 28px;
	font-weight: 900;
	margin: 0 0 6px 0;
	color: #fff;
}

.rsocialter-section-title {
	font-size: 22px;
	font-weight: 800;
	margin: 24px 0 16px 0;
	border-bottom: 3px solid var(--rs-primary);
	padding-bottom: 8px;
	display: inline-block;
}

/* Alerts */
.rsocialter-alert {
	padding: 16px 20px;
	border-radius: 12px;
	margin-bottom: 24px;
	font-size: 14px;
	line-height: 1.5;
}

.rsocialter-alert.info { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
.rsocialter-alert.warning { background: #fffbeb; color: #b45309; border: 1px solid #fef3c7; }
.rsocialter-alert.error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.rsocialter-alert.success { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }

/* Forms */
.rsocialter-form {
	background: var(--rs-card-bg);
	padding: 32px;
	border-radius: 20px;
	border: 1px solid var(--rs-border);
	box-shadow: var(--rs-shadow);
	max-width: 600px;
	margin: 0 auto;
}

.rsocialter-form-group {
	margin-bottom: 18px;
}

.rsocialter-form-group label {
	display: block;
	font-weight: 700;
	margin-bottom: 8px;
	font-size: 14px;
	color: #1e293b;
}

.rsocialter-form-group input,
.rsocialter-form-group textarea,
.rsocialter-form-group select {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid var(--rs-border);
	border-radius: 10px;
	font-size: 14px;
	box-sizing: border-box;
	transition: border-color 0.2s;
}

.rsocialter-form-group input:focus,
.rsocialter-form-group textarea:focus,
.rsocialter-form-group select:focus {
	outline: none;
	border-color: var(--rs-primary);
}

/* Badges */
.badge {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.badge-approved { background: #dcfce7; color: #15803d; }
.badge-pending { background: #fef3c7; color: #b45309; }
.badge-hidden { background: #e2e8f0; color: #475569; }
.badge-suspended { background: #fee2e2; color: #b91c1c; }
