/* ==========================================================================
   LMT PLACEMENT & MANAGEMENT WEB APP - CORPORATE CLEAN LIGHT THEME (Vercel/Stripe Style)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Color Palette - Corporate Light */
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-surface: #ffffff;
  --bg-muted: #f1f5f9;

  /* Borders & Dividers */
  --border-light: #e2e8f0;
  --border-subtle: #cbd5e1;
  --border-focus: #4f46e5;

  /* Primary Brand Colors (Navy & Indigo) */
  --navy-900: #0f172a;
  --navy-800: #1e293b;
  --indigo-600: #4f46e5;
  --indigo-700: #4338ca;
  --indigo-50: #eep2ff;
  --blue-600: #2563eb;

  /* Status Colors */
  --emerald-600: #059669;
  --emerald-50: #ecfdf5;
  --emerald-700: #047857;

  --amber-600: #d97706;
  --amber-50: #fffbeb;
  --amber-700: #b45309;

  --rose-600: #e11d48;
  --rose-50: #fff1f2;
  --rose-700: #be123c;

  --purple-600: #9333ea;
  --purple-50: #faf5ff;

  /* Text Colors */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  /* Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--navy-900);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  color: var(--indigo-600);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--indigo-700);
}

/* Cards & Panel */
.glass-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

/* Clean Navbar */
.lmt-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy-900);
  text-decoration: none;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-item {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.835rem;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-item:hover, .nav-item.active {
  color: var(--indigo-600);
  background: #f1f5f9;
}

.nav-dropdown {
  position: relative;
}

.dropdown-menu-custom {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  width: 220px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

.nav-dropdown:hover .dropdown-menu-custom {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item-custom {
  padding: 10px 14px;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dropdown-item-custom:hover {
  background: #eef2ff;
  color: var(--indigo-600);
}

.user-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 6px 14px 6px 8px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-xs);
  transition: all 0.2s ease;
}

.user-badge:hover {
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: white;
  font-size: 0.925rem;
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.25);
}

.faculty-badge {
  background: var(--emerald-50);
  border: 1px solid rgba(5, 150, 105, 0.3);
  color: var(--emerald-700);
  font-size: 0.725rem;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Page Wrapper */
.main-wrapper {
  padding-top: 100px;
  padding-bottom: 60px;
  max-width: 1320px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Buttons */
.btn-lmt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary-gradient {
  background: var(--indigo-600);
  color: white;
  box-shadow: var(--shadow-xs);
}

.btn-primary-gradient:hover {
  background: var(--indigo-700);
  color: white;
  box-shadow: var(--shadow-sm);
}

.btn-secondary-glass {
  background: #ffffff;
  color: var(--navy-900);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
}

.btn-secondary-glass:hover {
  background: #f8fafc;
  color: var(--indigo-600);
  border-color: var(--border-subtle);
}

.btn-emerald {
  background: var(--emerald-600);
  color: white;
}

.btn-emerald:hover {
  background: var(--emerald-700);
  color: white;
}

.btn-danger-glass {
  background: #ffffff;
  border: 1px solid rgba(225, 29, 72, 0.3);
  color: var(--rose-600);
}

.btn-danger-glass:hover {
  background: var(--rose-50);
  color: var(--rose-700);
}

/* Forms */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: 0.5rem;
}

.form-input,
.form-control,
.form-control-lmt,
input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
input[type="date"],
input[type="file"],
select,
textarea {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  color: var(--navy-900);
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: all 0.2s ease;
  outline: none;
  box-shadow: var(--shadow-xs);
}

select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23475569'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.1em;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-input:focus,
.form-control:focus,
.form-control-lmt:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
select:focus,
textarea:focus {
  border-color: var(--indigo-600);
  box-shadow: 0 0 0 3.5px rgba(79, 70, 229, 0.15);
  background-color: #ffffff;
}

/* Tables */
.table-container {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background: #ffffff;
}

.lmt-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.lmt-table th {
  background: #f8fafc;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
}

.lmt-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.925rem;
  color: var(--navy-900);
}

.lmt-table tbody tr:hover {
  background: #f8fafc;
}

/* Status Badges */
.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.775rem;
  font-weight: 700;
}

.badge-success {
  background: var(--emerald-50);
  color: var(--emerald-700);
  border: 1px solid rgba(5, 150, 105, 0.2);
}

.badge-warning {
  background: var(--amber-50);
  color: var(--amber-700);
  border: 1px solid rgba(217, 119, 6, 0.2);
}

.badge-info {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.badge-purple {
  background: var(--purple-50);
  color: var(--purple-600);
  border: 1px solid rgba(147, 51, 234, 0.2);
}

/* Hero Section */
.hero-card {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 3rem;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}

/* Grid & Cards */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.25rem;
}

.feature-card {
  padding: 1.75rem;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: #eef2ff;
  color: var(--indigo-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

/* Auth Cards */
.auth-wrapper {
  min-height: calc(100vh - 160px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  padding: 2.5rem;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  width: 100%;
  max-width: 460px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95);
  transition: all 0.2s ease;
}

.modal-overlay.active .modal-box {
  transform: scale(1);
}
