:root {
      --bg-primary: #0f172a;
      --bg-secondary: #1e293b;
      --bg-tertiary: #334155;
      --text-primary: #f8fafc;
      --text-secondary: #cbd5e1;
      --accent-primary: #3b82f6;
      --accent-secondary: #2563eb;
      --accent-success: #10b981;
      --accent-warning: #f59e0b;
      --accent-error: #ef4444;
      --border-radius: 12px;
      --transition: all 0.3s ease;
    }
    
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Inter', system-ui, -apple-system, sans-serif;
    }
    
    body {
      background-color: var(--bg-primary);
      color: var(--text-primary);
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 2rem 1rem;
      line-height: 1.6;
      overflow-x: hidden;
    }
    
    .container {
      width: 100%;
      max-width: 900px;
      margin: 0 auto;
    }
    
    header {
      margin-bottom: 2.5rem;
      text-align: center;
      animation: fadeInDown 0.8s ease forwards;
    }
    
    .logo {
      font-size: 2.2rem;
      font-weight: 800;
      background: linear-gradient(to right, #3b82f6, #10b981);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      letter-spacing: -0.5px;
      margin-bottom: 0.5rem;
    }
    
    .subtitle {
      color: var(--text-secondary);
      font-size: 1rem;
    }
    
    .card {
      background-color: var(--bg-secondary);
      border-radius: var(--border-radius);
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
      padding: 1.5rem;
      margin-bottom: 2rem;
      border: 1px solid rgba(255, 255, 255, 0.06);
      opacity: 0;
      transform: translateY(20px);
    }
    
    .fade-in {
      animation: fadeIn 0.5s ease forwards;
    }
    
    .fade-in-delay-1 {
      animation: fadeIn 0.5s ease 0.2s forwards;
    }
    
    .fade-in-delay-2 {
      animation: fadeIn 0.5s ease 0.4s forwards;
    }
    
    h2 {
      font-size: 1.25rem;
      font-weight: 600;
      margin-bottom: 1rem;
      color: var(--text-primary);
    }
    
    .format-info {
      margin-bottom: 1.5rem;
    }
    
    ul {
      list-style: none;
      margin-left: 1rem;
      margin-bottom: 1rem;
    }
    
    li {
      position: relative;
      padding-left: 1.5rem;
      margin-bottom: 0.75rem;
      color: var(--text-secondary);
    }
    
    li::before {
      content: "";
      position: absolute;
      left: 0;
      top: 0.6rem;
      width: 0.5rem;
      height: 0.5rem;
      border-radius: 50%;
      background-color: var(--accent-primary);
    }
    
    .highlight {
      color: var(--accent-primary);
      font-weight: 500;
    }
    
    .note {
      font-size: 0.9rem;
      padding: 0.75rem;
      background-color: rgba(245, 158, 11, 0.1);
      border-left: 3px solid var(--accent-warning);
      border-radius: 4px;
      color: #fcd34d;
    }
    
    .upload-section {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      margin-bottom: 1.5rem;
    }
    
    .file-input-wrapper {
      position: relative;
      margin-bottom: 0.5rem;
    }
    
    input[type="file"] {
      display: none;
    }
    
    .file-label {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background-color: var(--accent-primary);
      color: white;
      padding: 0.75rem 1.25rem;
      border-radius: var(--border-radius);
      font-weight: 500;
      cursor: pointer;
      transition: var(--transition);
    }
    
    .file-label:hover {
      background-color: var(--accent-secondary);
    }
    
    .file-name {
      margin-left: 0.5rem;
      padding: 0.5rem;
      color: var(--text-secondary);
      font-size: 0.9rem;
    }
    
    .select-wrapper {
      position: relative;
      width: 100%;
    }
    
    select {
      width: 100%;
      padding: 0.75rem 1rem;
      background-color: var(--bg-tertiary);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: var(--border-radius);
      color: var(--text-primary);
      appearance: none;
      cursor: pointer;
      transition: var(--transition);
      font-size: 0.95rem;
    }
    
    select:disabled {
      opacity: 0.6;
      cursor: not-allowed;
    }
    
    .select-wrapper::after {
      content: "\25BC";
      position: absolute;
      right: 1rem;
      top: 50%;
      transform: translateY(-50%);
      pointer-events: none;
      color: var(--text-secondary);
      font-size: 0.8rem;
    }
    
    button {
      padding: 0.75rem 1.5rem;
      border: none;
      border-radius: var(--border-radius);
      font-weight: 600;
      cursor: pointer;
      transition: var(--transition);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }
    
    button:disabled {
      opacity: 0.6;
      cursor: not-allowed;
    }
    
    .btn-primary {
      background-color: var(--accent-primary);
      color: white;
    }
    
    .btn-primary:hover:not(:disabled) {
      background-color: var(--accent-secondary);
    }
    
    .btn-success {
      background-color: var(--accent-success);
      color: white;
    }
    
    .btn-success:hover:not(:disabled) {
      background-color: #059669;
    }
    
    .btn-danger {
      background-color: var(--accent-error);
      color: white;
    }
    
    .btn-danger:hover:not(:disabled) {
      background-color: #dc2626;
    }
    
    .terminal {
      background-color: #111827;
      border-radius: var(--border-radius);
      padding: 1.25rem;
      font-family: 'JetBrains Mono', 'Courier New', monospace;
      line-height: 1.5;
      max-height: 400px;
      overflow-y: auto;
      border: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .terminal::-webkit-scrollbar {
      width: 6px;
    }
    
    .terminal::-webkit-scrollbar-track {
      background: #111827;
    }
    
    .terminal::-webkit-scrollbar-thumb {
      background-color: var(--bg-tertiary);
      border-radius: 20px;
    }
    
    .terminal-text {
      color: var(--accent-success);
    }
    
    .terminal-warning {
      color: var(--accent-warning);
    }
    
    .terminal-error {
      color: var(--accent-error);
    }
    
    pre {
      white-space: pre-wrap;
      font-size: 0.9rem;
    }
    
    .loading {
      display: none;
      margin-bottom: 1rem;
      text-align: center;
    }
    
    .spinner {
      width: 20px;
      height: 20px;
      border: 3px solid rgba(59, 130, 246, 0.2);
      border-top-color: var(--accent-primary);
      border-radius: 50%;
      animation: spin 1s linear infinite;
      display: inline-block;
      margin-right: 0.5rem;
    }
    
    @keyframes spin {
      to {
        transform: rotate(360deg);
      }
    }
    
    .download-section {
      margin-top: 1.25rem;
    }
    
    .hidden {
      display: none !important;
    }
    
    .icon {
      display: inline-block;
      width: 18px;
      height: 18px;
    }
    
    .user-info {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 1rem 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      margin-bottom: 1.5rem;
    }
    
    .welcome-text {
      font-size: 1.1rem;
      font-weight: 500;
    }
    
    .user-name {
      color: var(--accent-primary);
      font-weight: 600;
    }
    
    .logout-btn {
      padding: 0.5rem 1rem;
      font-size: 0.9rem;
    }
    
    footer {
      margin-top: 2rem;
      text-align: center;
      color: var(--text-secondary);
      font-size: 0.9rem;
      opacity: 0;
      animation: fadeIn 0.5s ease 0.8s forwards;
      /* Make sure footer has column layout */
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    
    /* Copyright text remains as-is */
    footer p {
      margin-bottom: 1rem;
    }
    
    /* Make social links always display in a row */
    .social-links {
      display: flex;
      flex-direction: row; /* Force horizontal layout */
      justify-content: center;
      gap: 1.5rem;
      margin-top: 1rem;
    }
    
    .social-link {
      color: var(--text-secondary);
      transition: var(--transition);
      display: flex;
      align-items: center;
      gap: 0.5rem;
      text-decoration: none;
    }
    
    .social-link:hover {
      color: var(--accent-primary);
      transform: translateY(-2px);
    }
    
    .social-link-text {
      font-size: 0.9rem;
    }
    
    @media (max-width: 640px) {
      .card {
        padding: 1.25rem;
      }
      
      /* Remove or modify this part that's causing the stacking */
      .social-links {
        flex-direction: row; /* Keep horizontal even on mobile */
        gap: 1rem; /* You can reduce the gap for mobile */
        justify-content: center;
      }
    }
    
    /* Additional Animations */
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }
    
    @keyframes fadeInDown {
      from { opacity: 0; transform: translateY(-20px); }
      to { opacity: 1; transform: translateY(0); }
    }
    
    @keyframes fadeOut {
      from { opacity: 1; transform: translateY(0); }
      to { opacity: 0; transform: translateY(20px); }
    }
    
    .fade-out {
      animation: fadeOut 0.5s ease forwards;
    }
    
    /* Notification for successful compilation */
    .toast-notification {
      position: fixed;
      top: 20px;
      right: 20px;
      background-color: var(--accent-success);
      color: white;
      padding: 0.75rem 1.25rem;
      border-radius: var(--border-radius);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
      display: flex;
      align-items: center;
      gap: 8px;
      z-index: 1000;
      opacity: 0;
      transform: translateX(30px);
      transition: var(--transition);
    }
    
    .toast-notification.show {
      opacity: 1;
      transform: translateX(0);
    }
    
    .toast-notification.hide {
      opacity: 0;
      transform: translateX(30px);
    }
    
    /* Logo pulse animation */
    @keyframes pulse {
      0% { transform: scale(1); }
      50% { transform: scale(1.05); }
      100% { transform: scale(1); }
    }
    
    .logo:hover {
      animation: pulse 1.5s ease infinite;
    }