/* main.css: Shared variables, base styles, and common layout/typography for all pages */
:root {
  --primary: #4361ee;
  --primary-light: #4895ef;
  --secondary: #3a0ca3;
  --light: #f8f9fa;
  --dark: #212529;
  --gray: #adb5bd;
  --success: #38b000;
  --warning: #ffba08;
  --danger: #d00000;
}

* { font-weight: 100; }

body {
  background-color: var(--light);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--dark);
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-weight: 300;
  color: var(--dark);
}

h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--gray);
  padding-bottom: 0.5rem;
}

.navbar {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background-color: white !important;
  padding: 0.7rem 1rem;
}

.navbar-brand {
  font-weight: 400;
  color: var(--primary) !important;
}

/* Zoom controls (merged from zoom-styles.css) */
.zoom-controls {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.05);
    padding: 8px 6px;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    gap: 8px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: fadeInRight 0.5s ease-out forwards;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

.zoom-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border: none;
    background-color: var(--primary, #4361ee);
    color: white;
    font-size: 20px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 50%;
    margin: 0;
    box-shadow: 0 2px 6px rgba(67, 97, 238, 0.3);
    position: relative;
    overflow: hidden;
}

.zoom-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s ease-out;
    pointer-events: none;
}
