/* Doodle Note - Cartoon theme for the user panel */
@import url('https://fonts.googleapis.com/css2?family=Gloria+Hallelujah&family=Patrick+Hand&display=swap');

body[data-theme="doodle-note"] {
  --t-bg: #101312;
  --t-bg2: #1a1f1d;
  --t-card: #161a19;
  --t-line: #3b4542;
  --t-ink: #f2f4ef;
  --t-muted: #a8b3ae;
  --t-acc: #f8d34a;
  --t-acc2: #7dd3fc;
  --t-radius: 14px 26px 16px 24px;
  --bs-primary: #f8d34a;
  --bs-primary-rgb: 248, 211, 74;
  --bs-link-color: #f8d34a;
  --bs-link-hover-color: #7dd3fc;
  --bs-body-bg: #101312;
  --bs-body-color: #f2f4ef;
  --bs-border-color: #3b4542;
  --bs-emphasis-color: #f2f4ef;
  --bs-secondary-color: #a8b3ae;
  font-family: 'Patrick Hand', ui-rounded, cursive;
  color: var(--t-ink);
  background: var(--t-bg);
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 32px);
  background-attachment: fixed;
}

body[data-theme="doodle-note"] h1,
body[data-theme="doodle-note"] h2,
body[data-theme="doodle-note"] h3,
body[data-theme="doodle-note"] h4,
body[data-theme="doodle-note"] h5,
body[data-theme="doodle-note"] h6,
body[data-theme="doodle-note"] .navbar-brand,
body[data-theme="doodle-note"] .btn { font-family: 'Gloria Hallelujah', cursive; letter-spacing: 0; }

/* surfaces */
body[data-theme="doodle-note"] .card,
body[data-theme="doodle-note"] .panel-card,
body[data-theme="doodle-note"] .stat-card,
body[data-theme="doodle-note"] .pricing-card,
body[data-theme="doodle-note"] .feature-card,
body[data-theme="doodle-note"] .testimonial,
body[data-theme="doodle-note"] .accordion-item,
body[data-theme="doodle-note"] .list-group-item,
body[data-theme="doodle-note"] .table {
  background: var(--t-card);
  color: var(--t-ink);
  border-color: var(--t-line);
  border-radius: var(--t-radius);
}
body[data-theme="doodle-note"] .card-header,
body[data-theme="doodle-note"] .card-footer,
body[data-theme="doodle-note"] .accordion-button { background: var(--t-bg2); color: var(--t-ink); border-color: var(--t-line); }
body[data-theme="doodle-note"] .accordion-button:not(.collapsed) { background: var(--t-bg2); color: var(--t-acc); box-shadow: none; }
body[data-theme="doodle-note"] .accordion-button::after { filter: invert(1) grayscale(1) brightness(2); }
body[data-theme="doodle-note"] .bg-light-soft,
body[data-theme="doodle-note"] .bg-light,
body[data-theme="doodle-note"] .bg-white { background: var(--t-bg2) !important; color: var(--t-ink); }
body[data-theme="doodle-note"] .text-muted,
body[data-theme="doodle-note"] .text-secondary,
body[data-theme="doodle-note"] .footer-text { color: var(--t-muted) !important; }
body[data-theme="doodle-note"] .text-dark,
body[data-theme="doodle-note"] .text-body { color: var(--t-ink) !important; }
body[data-theme="doodle-note"] .text-primary { color: var(--t-acc) !important; }
body[data-theme="doodle-note"] hr,
body[data-theme="doodle-note"] .footer-rule { border-color: var(--t-line); opacity: 1; }

/* tables */
body[data-theme="doodle-note"] .table { --bs-table-bg: transparent; --bs-table-color: var(--t-ink); --bs-table-border-color: var(--t-line); --bs-table-striped-color: var(--t-ink); --bs-table-striped-bg: rgba(248,211,74,.07); --bs-table-hover-color: var(--t-ink); --bs-table-hover-bg: rgba(248,211,74,.07); }
body[data-theme="doodle-note"] .table > thead { color: var(--t-acc); text-transform: uppercase; font-size: .74rem; letter-spacing: .08em; }

/* nav */
body[data-theme="doodle-note"] .site-nav { background: rgba(16,19,18,.9); border-bottom: 2px dashed #7dd3fc; backdrop-filter: blur(12px); }
body[data-theme="doodle-note"] .site-nav .nav-link { color: var(--t-muted); font-weight: 600; }
body[data-theme="doodle-note"] .site-nav .nav-link:hover,
body[data-theme="doodle-note"] .site-nav .nav-link.active { color: var(--t-acc); }
body[data-theme="doodle-note"] .navbar-brand,
body[data-theme="doodle-note"] .navbar-brand span { color: var(--t-ink) !important; }
body[data-theme="doodle-note"] .brand-mark { background: linear-gradient(135deg, var(--t-acc), var(--t-acc2)); color: #1a1500; border-radius: var(--t-radius); }
body[data-theme="doodle-note"] .navbar-toggler { border-color: var(--t-line); color: var(--t-ink); }
body[data-theme="doodle-note"] .navbar-toggler-icon { filter: invert(1) brightness(1.6); }
body[data-theme="doodle-note"] .nav-balance { background: rgba(248,211,74,.14); color: var(--t-acc); border: 1px solid var(--t-line); border-radius: 999px; padding: .25rem .7rem; font-weight: 700; }

/* buttons + forms */
body[data-theme="doodle-note"] .btn-primary { --bs-btn-bg: var(--t-acc); --bs-btn-border-color: var(--t-acc); --bs-btn-color: #1a1500; --bs-btn-hover-bg: var(--t-acc2); --bs-btn-hover-border-color: var(--t-acc2); --bs-btn-hover-color: #1a1500; --bs-btn-active-bg: var(--t-acc2); --bs-btn-active-color: #1a1500; }
body[data-theme="doodle-note"] .btn-outline-primary { --bs-btn-color: var(--t-acc); --bs-btn-border-color: var(--t-acc); --bs-btn-hover-bg: var(--t-acc); --bs-btn-hover-color: #1a1500; }
body[data-theme="doodle-note"] .btn-light,
body[data-theme="doodle-note"] .btn-outline-secondary { --bs-btn-bg: var(--t-bg2); --bs-btn-color: var(--t-ink); --bs-btn-border-color: var(--t-line); --bs-btn-hover-bg: var(--t-line); --bs-btn-hover-color: var(--t-ink); }
body[data-theme="doodle-note"] .btn { border-radius: var(--t-radius); font-weight: 700; }
body[data-theme="doodle-note"] .form-control,
body[data-theme="doodle-note"] .form-select,
body[data-theme="doodle-note"] .input-group-text { background: #1a1f1d; color: var(--t-ink); border-color: var(--t-line); border-radius: var(--t-radius); }
body[data-theme="doodle-note"] .form-control::placeholder { color: var(--t-muted); }
body[data-theme="doodle-note"] .form-control:focus,
body[data-theme="doodle-note"] .form-select:focus { background: #1a1f1d; color: var(--t-ink); border-color: var(--t-acc); box-shadow: 0 0 0 .2rem rgba(248, 211, 74, .25); }
body[data-theme="doodle-note"] .form-select option { background: var(--t-bg2); color: var(--t-ink); }
body[data-theme="doodle-note"] .form-label,
body[data-theme="doodle-note"] label { color: var(--t-ink); }
body[data-theme="doodle-note"] .badge.bg-light,
body[data-theme="doodle-note"] .badge.text-bg-light { background: var(--t-bg2) !important; color: var(--t-ink) !important; }
body[data-theme="doodle-note"] .modal-content,
body[data-theme="doodle-note"] .offcanvas,
body[data-theme="doodle-note"] .dropdown-menu { background: var(--t-card); color: var(--t-ink); border-color: var(--t-line); }
body[data-theme="doodle-note"] .dropdown-item { color: var(--t-ink); }
body[data-theme="doodle-note"] .dropdown-item:hover { background: var(--t-bg2); color: var(--t-acc); }
body[data-theme="doodle-note"] .alert { border-radius: var(--t-radius); border-color: var(--t-line); background: var(--t-bg2); color: var(--t-ink); }
body[data-theme="doodle-note"] .nav-tabs .nav-link { color: var(--t-muted); }
body[data-theme="doodle-note"] .nav-tabs .nav-link.active { background: var(--t-card); color: var(--t-acc); border-color: var(--t-line) var(--t-line) var(--t-card); }

/* hero + footer */
body[data-theme="doodle-note"] .hero,
body[data-theme="doodle-note"] .hero-section { background: linear-gradient(140deg,#141917,#1a1d1a); color: var(--t-ink); }
body[data-theme="doodle-note"] .site-footer { background: #0e100f; color: var(--t-muted); border-top: 1px solid var(--t-line); }
body[data-theme="doodle-note"] .site-footer a { color: var(--t-muted); }
body[data-theme="doodle-note"] .site-footer a:hover { color: var(--t-acc); }
body[data-theme="doodle-note"] .footer-head { color: var(--t-ink); }
body[data-theme="doodle-note"] .social { border: 1px solid var(--t-line); color: var(--t-ink); }
body[data-theme="doodle-note"] .to-top { background: var(--t-acc); color: #1a1500; }

/* theme signature */

body[data-theme="doodle-note"] .card { border: 2px solid var(--t-ink); border-radius: 255px 15px 225px 15px/15px 225px 15px 255px; box-shadow: 3px 4px 0 rgba(255,255,255,.12); }
body[data-theme="doodle-note"] .btn { border: 2px solid var(--t-ink); border-radius: 255px 12px 225px 12px/12px 225px 12px 255px; }
body[data-theme="doodle-note"] .form-control, body[data-theme="doodle-note"] .form-select { border: 2px dashed var(--t-line); border-radius: 12px; }
body[data-theme="doodle-note"] .card:hover { transform: rotate(-.6deg); transition: .2s; }
body[data-theme="doodle-note"] h1, body[data-theme="doodle-note"] h2 { text-decoration: underline wavy var(--t-acc) 2px; text-underline-offset: 8px; }



/* ---- Theme artwork (doodle-note) ---- */
body[data-theme="doodle-note"]::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("../../img/themes/doodle-note.jpg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
  opacity: .30;
  mix-blend-mode: normal;
  filter: none;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,.55) 55%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,.55) 55%, rgba(0,0,0,0) 100%);
}
body[data-theme="doodle-note"] { position: relative; }
body[data-theme="doodle-note"] .theme-hero-art {
  background-image: url("../../img/themes/doodle-note.jpg");
  display: block;
}
@media (max-width: 767.98px) {
  body[data-theme="doodle-note"]::before { background-attachment: scroll; opacity: calc(.30 * .8); }
}
