@import url('font.css');

:root {
	--bg-light: #FAFAFA;
	--text-main: #000000;
	--text-muted: #555555;
	--brand-pink: #FF1053;
	--brand-red: #7A0026;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	background-color: var(--bg-light);
	color: var(--text-main);
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	overflow-x: hidden;
	position: relative;
}

.ambient-background {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: -1;
	overflow: hidden;
	background: #ffffff;
}

.color-blob {
	position: absolute;
	border-radius: 50%;
	filter: blur(120px);
	opacity: 0.6;
	animation: float 25s ease-in-out infinite alternate;
}

.blob-1 {
	top: -10%;
	left: -10%;
	width: 50vw;
	height: 50vw;
	background: #ff1053;
	opacity: 0.3;
}

.blob-2 {
	bottom: -15%;
	right: -10%;
	width: 55vw;
	height: 55vw;
	background: #fb69bf;
	opacity: 0.3;
}

.blob-3 {
	top: 15%;
	right: 15%;
	width: 40vw;
	height: 40vw;
	background: #00E5FF;
	opacity: 0.15;
}

@keyframes float {
	0% {
		transform: translate(0, 0) scale(1);
	}

	100% {
		transform: translate(3%, 3%) scale(1.05);
	}
}

.navbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 24px 5%;
	max-width: 1400px;
	margin: 0 auto;
	width: 100%;
}

.nav-brand {
	display: flex;
	align-items: center;
	gap: 12px;
}

.nav-logo {
	height: 36px;
	width: auto;
}

.btn-secondary {
	text-decoration: none;
	color: var(--text-main);
	font-weight: 600;
	font-size: 0.95rem;
	padding: 10px 20px;
	border-radius: 100px;
	background: rgba(0, 0, 0, 0.05);
	transition: background 0.2s ease;
}

.btn-secondary:hover {
	background: rgba(0, 0, 0, 0.1);
}

.hero {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 60px 20px;
	max-width: 850px;
	margin: 0 auto;
	width: 100%;
}

.hero-title {
	font-size: clamp(2.2rem, 6vw, 5.5rem);
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: -0.04em;
	margin-bottom: 34px;
	color: #111;
}

.hero-subtitle {
	font-size: 1.25rem;
	color: var(--text-muted);
	margin-bottom: 40px;
	max-width: 650px;
	line-height: 1.5;
	letter-spacing: -0.01em;
}

.search-form {
	display: flex;
	width: 100%;
	max-width: 550px;
	margin-bottom: 24px;
	background: #ffffff;
	border-radius: 100px;
	padding: 8px;
	box-shadow: 0 12px 36px rgba(255, 16, 83, 0.12);
	border: 1px solid rgba(255, 16, 83, 0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.search-form:focus-within {
	box-shadow: 0 16px 48px rgba(255, 16, 83, 0.18);
	border-color: rgba(255, 16, 83, 0.3);
}

.search-input {
	flex: 1;
	padding: 14px 24px;
	font-size: 1.05rem;
	border: none;
	background: transparent;
	outline: none;
	font-family: inherit;
	color: #222;
}

.search-input::placeholder {
	color: #a0a0a0;
}

.btn-primary {
	padding: 14px 32px;
	font-size: 1rem;
	font-weight: 600;
	color: #fff;
	background: var(--brand-pink);
	border: none;
	border-radius: 100px;
	cursor: pointer;
	font-family: inherit;
	white-space: nowrap;
	box-shadow: 0 4px 15px #ff10534d;
	transition: background 0.2s ease;
}

.btn-primary:hover {
	opacity: 0.95;
	box-shadow: 0 6px 20px #ff105366;
}

.sub-hint {
	font-size: 0.95rem;
	color: #777;
}

.footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 30px 5%;
	font-size: 0.9rem;
	color: #777;
	max-width: 1400px;
	margin: 0 auto;
	width: 100%;
}

.footer a {
	color: #222;
	text-decoration: none;
	font-weight: 600;
}

.footer-links {
	display: flex;
	gap: 24px;
}

/* --- PAGINA LOGIN --- */
.login-card {
	background: rgba(255, 255, 255, 0.7);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 16, 83, 0.1);
	border-radius: 24px;
	padding: 40px;
	max-width: 550px;
	width: 100%;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
	display: flex;
	flex-direction: column;
	align-items: center;
}

.login-description {
	font-size: 1rem;
	color: #444;
	line-height: 1.6;
	text-align: left;
	margin-bottom: 32px;
}

.login-description strong {
	color: #111;
	font-size: 1.1rem;
	display: inline-block;
	margin-bottom: 8px;
}

.sso-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	width: 100%;
	padding: 18px 32px;
	font-size: 1.05rem;
}


@media (max-width: 600px) {
	.navbar {
		padding: 16px 20px;
	}

	.brand-name {
		font-size: 1.1rem;
	}

	.btn-secondary {
		padding: 8px 16px;
		font-size: 0.85rem;
	}

	.hero {
		padding: 40px 20px;
	}

	.hero-subtitle {
		font-size: 1.1rem;
		margin-bottom: 32px;
	}

	.search-form {
		flex-direction: column;
		border-radius: 20px;
		padding: 12px;
		gap: 8px;
	}

	.search-input {
		text-align: center;
		padding: 12px;
	}

	.btn-primary {
		width: 100%;
		border-radius: 12px;
		padding: 16px;
	}

	.footer {
		flex-direction: column;
		gap: 20px;
		text-align: center;
		padding: 30px 20px;
	}

	.footer-links {
		justify-content: center;
		width: 100%;
	}

	.login-card {
		padding: 24px;
		border-radius: 20px;
	}

	.login-description {
		font-size: 0.95rem;
		margin-bottom: 24px;
	}
}


.admin-wrapper {
	width: 1300px;
	margin: 40px auto;
	padding: 0 20px;
	position: relative;
	z-index: 10;
}

.dashboard-card {
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(15px);
	border-radius: 24px;
	padding: 30px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
	border: 1px solid rgba(255, 16, 83, 0.1);
}

.tab-nav {
	display: flex;
	gap: 10px;
	border-bottom: 2px solid #eee;
	margin-bottom: 25px;
	overflow-x: auto;
}

.tab-link {
	padding: 12px 20px;
	cursor: pointer;
	border-bottom: 3px solid transparent;
	font-weight: 600;
	color: var(--text-muted);
	transition: 0.3s;
	white-space: nowrap;
}

.tab-link.active {
	color: var(--brand-pink);
	border-bottom-color: var(--brand-pink);
}

.tab-pane {
	display: none;
}

.tab-pane.active {
	display: block;
	animation: fadeIn 0.4s ease;
}

.toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
	flex-wrap: wrap;
	gap: 10px;
}

.search-box {
	padding: 10px 20px;
	border-radius: 50px;
	border: 1px solid #ddd;
	outline: none;
	width: 250px;
}

.table-responsive {
	overflow-x: auto;
}

table {
	width: 100%;
	border-collapse: collapse;
	min-width: 600px;
}

th {
	text-align: left;
	padding: 15px;
	border-bottom: 2px solid #eee;
	color: var(--text-main);
}

td {
	padding: 15px;
	border-bottom: 1px solid #f5f5f5;
	vertical-align: middle;
}

.action-btns {
	display: flex;
	gap: 8px;
}

.btn-small {
	padding: 6px 12px;
	font-size: 0.85rem;
	border-radius: 8px;
	border: none;
	cursor: pointer;
	font-weight: 500;
}

.btn-edit {
	background: rgba(0, 0, 0, 0.05);
	color: #111;
}

.btn-edit:hover {
	background: rgba(0, 0, 0, 0.1);
}

.btn-delete {
	background: #ffe5ea;
	color: var(--brand-pink);
}

.btn-delete:hover {
	background: var(--brand-pink);
	color: #fff;
}

.status-badge {
	padding: 4px 10px;
	border-radius: 50px;
	font-size: 0.8rem;
	font-weight: 600;
}

.status-pending {
	background: #fff3cd;
	color: #856404;
}

.status-completed {
	background: #d4edda;
	color: #155724;
}

.modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 1000;
}

.modal.active {
	display: flex;
}

.modal-content {
	background: #fff;
	padding: 35px;
	border-radius: 20px;
	width: 90%;
	max-width: 500px;
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.field {
	margin-bottom: 15px;
}

.field label {
	display: block;
	margin-bottom: 5px;
	font-size: 0.9rem;
	font-weight: 500;
}

.field input,
.field select,
.field textarea {
	width: 100%;
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-family: inherit;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(5px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}