/* --- General Body & Font --- */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  /* Same gradient background as landing page */
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #1a1a1a;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

/* Navigation - matching landing page */
.app-navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #2563eb;
}

.nav-logo i {
  margin-right: 8px;
  font-size: 1.8rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #4b5563;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #2563eb;
}

/* Main Container */
.container {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  padding: 100px 20px 40px;
  min-height: 100vh;
}

/* --- Typography --- */
h1, h2 {
  color: #1a1a1a;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 1.8rem;
  border-bottom: 1px solid #e5e7eb;
  padding-top: 2rem;
  padding-bottom: 10px;
}

/* --- Containers & Cards --- */
#auth-container, #app-container {
  max-width: 800px;
  width: 100%;
  margin: auto;
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
}

/* --- Forms & Inputs --- */
input, select {
  display: block;
  width: 100%;
  padding: 15px 5px;
  margin-bottom: 1.5rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 1rem;
  background: #f9fafb;
  transition: all 0.3s ease;
}

input:focus, select:focus {
  outline: none;
  border-color: #2563eb;
  background: white;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* --- Buttons --- */
button {
  padding: 15px 30px;
  border: none;
  border-radius: 12px;
  color: white;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-right: 1rem;
  margin-bottom: 1rem;
}

button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

button:disabled {
  background: #9ca3af;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

#logout, #upgrade {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

#logout:hover, #upgrade:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(239, 68, 68, 0.3);
}

#download-transcript {
  background: linear-gradient(135deg, #10b981, #059669);
}

#download-transcript:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

/* --- Transcript & Log --- */
#transcripts {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  white-space: pre-wrap;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  height: 300px;
  overflow-y: auto;
  background-color: #f9fafb;
  color: #1a1a1a;
  line-height: 1.6;
}

/* --- Utility Classes --- */
.hidden { display: none; }

/* --- Specific Layouts --- */
#plan-status-container {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

#plan-status-container p {
  margin: 0.5rem 0;
  color: #6b7280;
  font-size: 0.95rem;
}

#plan-status-container strong {
  color: #1a1a1a;
  font-weight: 600;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
  .container {
    padding: 90px 15px 20px;
  }
  
  .nav-container {
    padding: 0 15px;
  }
  
  #auth-container, #app-container {
    padding: 1.5rem;
    margin: 1rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  button {
    width: 100%;
    margin-right: 0;
  }
}

@media (max-width: 480px) {
  .nav-logo {
    font-size: 1.3rem;
  }
  
  #transcripts {
    height: 250px;
    padding: 15px;
  }
}