body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	background: #f3f4f6;
	margin: 0;
	padding: 0;
}

.form-container {
	max-width: 400px;
	margin: 3rem auto;
	padding: 2rem;
	background: white;
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.logo a {
    text-decoration: none;
    color: white;
}

.logo a:hover {
    text-decoration: underline;
}

header {
    background: linear-gradient(90deg, #1e3a8a, #2563eb);
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
header .logo h1 {
    margin: 0;
    font-size: 1.8rem;
}

header .logo p {
    margin: 0;
    font-size: 0.9rem;
    font-style: italic;
}

.nav-bar {
    display: flex;
    gap: 0.8rem;
}

.nav-bar button {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

#btnLogin {
    background: #2563eb;
    color: white;
}
#btnLogin:hover {
    background: #1e40af;
}

/* Registro */
#btnRegister {
    background: #10b981;
    color: white;
}
#btnRegister:hover {
    background: #059669;
}

#btnPostOferta {
  background: #007bff;
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  margin-left: 10px;
  transition: 0.2s;
}
#btnPostOferta:hover {
  background: #0056b3;
}

#btnLogout {
    background: #ef4444;
    color: white;
}
#btnLogout:hover {
    background: #b91c1c;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background-color: #fff;
  min-width: 180px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  border-radius: 8px;
  overflow: hidden;
  z-index: 1000;
}

.dropdown-content a {
  color: #333;
  padding: 10px 14px;
  text-decoration: none;
  display: block;
  font-size: 0.95rem;
}

.dropdown-content a:hover {
  background-color: #f0f0f0;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown button {
  background-color: #0078d7;
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
}
.dropdown button:hover {
  background-color: #005fa3;
}

h2 {
	text-align: center;
	margin-bottom: 1.5rem;
	color: #1e3a8a;
}

label {
	display: block;
	margin-top: 1rem;
	font-weight: bold;
	color: #333;
}

textarea {
	width: 100%;
	padding: 0.6rem;
	margin-top: 0.3rem;
	border: 1px solid #ccc;
	border-radius: 6px;
}

input {
	
	width: 100%;
	padding: 0.6rem;
	margin-top: 0.3rem;
	border: 1px solid #ccc;
	border-radius: 6px;
}

button {
	width: 100%;
	padding: 0.8rem;
	margin-top: 1.2rem;
	background: #2563eb;
	color: white;
	font-weight: bold;
	border-radius: 6px;
	border: none;
	cursor: pointer;
	transition: background 0.3s ease;
}

button:hover {
	background: #1e40af;
}

a {
	color: #2563eb;
	text-decoration: none;
	font-weight: 500;
}

a:hover {
	text-decoration: underline;
}

footer {
	text-align: center;
	padding: 1rem;
	background: 2rem;
	font-size: 0.9rem;
}

.lista-ofertas {
    max-width: 900px;
    margin: 2rem auto;
    padding: 1rem;
}

.lista-ofertas h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #1e3a8a;
}

.oferta {
    background: #ffffff;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.oferta h3 {
    margin-top: 0;
    color: #2563eb;
}

.oferta p {
    margin: 0.3rem 0;
    color: #333;
}

.oferta:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.btn-aplicar {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.6rem 1.2rem;
    background: #2563eb;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

.btn-aplicar:hover {
    background: #1e40af;
}

.panel-empresa {
  max-width: 900px;
  margin: 2rem auto;
  padding: 1rem;
}

.info-empresa {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  margin-bottom: 1.5rem;
}

.info-empresa h2 {
  color: #0078d7;
  margin-bottom: 0.5rem;
}

.acciones {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.acciones button {
  background-color: #0078d7;
  color: white;
  border: none;
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.2s ease;
}

.acciones button:hover {
  background-color: #005fa3;
}

.ofertas-empresa .oferta-card {
  background: #fff;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  margin-bottom: 1rem;
}

.ofertas-empresa h3 {
  color: #333;
  margin-bottom: 0.3rem;
}

.oferta-card small {
  color: #666;
  display: block;
  margin-top: 0.3rem;
}

.oferta-postus {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 20px 30px;
  margin-bottom: 30px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.oferta-postus:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.oferta-postus h3 {
  color: #2b4b7c;
  margin-bottom: 5px;
}
.oferta-postus p {
  color: #333;
  margin: 3px 0;
  font-size: 0.95rem;
}

.lista-estudiantes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.card-estudiante {
  background: #f9f9fc;
  border: 1px solid #e2e5ec;
  border-radius: 10px;
  padding: 15px 20px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card-estudiante:hover {
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

.card-estudiante h4 {
  color: #2b4b7c;
  margin-bottom: 5px;
}

.card-estudiante p {
  margin: 3px 0;
  font-size: 0.9rem;
  color: #444;
}

.card-estudiante small {
  color: #666;
  font-size: 0.8rem;
}

.sin-postus {
  font-style: italic;
  color: #777;
  padding: 10px 0;
  text-align: center;
}

.admin-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 12px 18px;
  margin-bottom: 10px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  max-width: 900px;
}

.admin-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.admin-info {
  flex: 1;
}

.admin-info p {
  margin: 2px 0;
  color: #333;
  font-size: 0.95rem;
}

.admin-info strong {
  color: #2b4b7c;
}

.admin-card .btn-eliminar,
.admin-card .btn-eliminar-oferta {
  background-color: #d9534f !important;
  color: #fff !important;
  border: none !important;
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
  width: auto !important;
  display: inline-block !important;
}

.admin-card .btn-eliminar:hover,
.admin-card .btn-eliminar-oferta:hover {
  background-color: #c9302c !important;
}
