

  /* Import Google Font */
  @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

  :root {
    --primary: #007bff;
    --secondary: #28a745;
    --bg: #f4f4f9;
    --white: #fff;
    --text: #333;
    --shadow: rgba(0, 0, 0, 0.1);
  }

  body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    margin: 0;
    padding: 0;
  }

  .book-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow);
  }

  .book-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
  }

  .book-header h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
  }

  .btn {
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
  }

  .btn-order {
    background: var(--secondary);
    color: var(--white);
  }

  .btn-order:hover {
    background: #218838;
  }

  .book-viewer {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 10px;
    background: #f9f9f9;
  }

  .book-canvas {
    width: 100%;
    max-width: 45%;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 2px 10px var(--shadow);
  }

  .watermark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: repeating-linear-gradient(
      45deg,
      rgba(0, 0, 0, 0.03),
      rgba(0, 0, 0, 0.03) 10px,
      transparent 10px,
      transparent 20px
    );
    z-index: 1;
    border-radius: 12px;
  }
  

  .book-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
  }

  .btn-control {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
  }

  .btn-control:hover {
    background: #0056b3;
  }

  .page-info {
    font-size: 1rem;
    font-weight: 600;
  }

  .book-note {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #666;
  }

  .book-note a {
    color: var(--primary);
    text-decoration: none;
  }

  .book-note a:hover {
    text-decoration: underline;
  }
