﻿@charset "UTF-8";
/* --------------------------------------------------
   Root Variables — Colors, Spacing, Typography
-------------------------------------------------- */
:root {
  --nav-bg: #0d0f1a;
  --nav-bg: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  --nav-text: #ffffff;
  --nav-accent: #00e887;
  --nav-hover: rgba(255,255,255,0.08);
  --nav-border: rgba(255,255,255,0.12);
  --transition: 0.25s ease;
  --radius: 6px;
  --font-nav: "Poppins", sans-serif;
}

/* --------------------------------------------------
   Desktop Navigation
-------------------------------------------------- */
.main-nav {
  align-items: center;
  background: var(--nav-bg);
  display: grid;
  grid-template-columns: max-content max-content;
  justify-content: space-between;
  padding: 1rem 2rem;
  font-family: var(--font-nav);
}

.dashboard-menu > ul > li > a {
  color: #fff;
  font-family: Poppins;
  text-transform: uppercase;
}

.nav-level-1 {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item > a {
  color: var(--nav-text);
  text-decoration: none;
  padding: 0.5rem 0;
  display: block;
  position: relative;
  transition: var(--transition);
}

.nav-item > a:hover {
  color: var(--nav-accent);
}

/* Dropdown Container */
.has-dropdown {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--nav-bg);
  border: 1px solid var(--nav-border);
  border-radius: var(--radius);
  padding: 0.75rem 0;
  list-style: none;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 20;
}

.has-dropdown:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown li a {
  padding: 0.6rem 1rem;
  display: block;
  color: var(--nav-text);
  text-decoration: none;
  transition: var(--transition);
}

.nav-dropdown li a:hover {
  background: var(--nav-hover);
  color: var(--nav-accent);
}

/* --------------------------------------------------
   Mobile Navigation
-------------------------------------------------- */
.mobile-nav {
  display: none;
  background: var(--nav-bg);
  padding: 1rem 1.5rem;
  position: relative;
}

/* Hamburger Icon */
.hamburger {
  width: 32px;
  height: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.hamburger span {
  height: 4px;
  background: var(--nav-text);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle {
  display: none;
}

/* Mobile Menu Panel */
.mobile-menu {
  list-style: none;
  padding: 1rem 0;
  margin: 0;
  display: none;
  flex-direction: column;
  gap: 1rem;
}

.nav-toggle:checked ~ .mobile-menu {
  display: flex;
}

/* Mobile Section Headers */
.mobile-section {
  color: var(--nav-text);
  font-weight: 600;
  cursor: pointer;
}

.mobile-section ul {
  list-style: none;
  padding-left: 1rem;
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-section a {
  color: var(--nav-text);
  text-decoration: none;
  transition: var(--transition);
}

.mobile-section a:hover {
  color: var(--nav-accent);
}

/* --------------------------------------------------
   Responsive Breakpoints
-------------------------------------------------- */
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-nav {
    display: block;
  }
}
/*@import 'Partials/_reset.scss';
@import 'partials/WebsiteTemplates/_fonts.scss';
@import 'Partials/WebsiteTemplates/_colors.scss';

@import 'Partials/WebsiteTemplates/_headings.scss';
@import 'Partials/WebsiteTemplates/_buttons.scss';
*/
/* Root Variables */
:root {
  --border-radius: 6px;
  --color-primary: #3b82f6; /* Blue accent */
  --color-secondary: #9333ea; /* Purple accent */
  --color-accent: #f59e0b; /* Orange accent */
  --color-bg: #f9fafb;
  --color-text: #1f2937;
  --color-muted: #6b7280;
  --radius: 6px;
  --transition: 0.3s ease;
  --font-heading: "Poppins", sans-serif;
  --font-body: "Raleway", sans-serif;
}

.hamburger-button {
  display: none;
}

.hidden {
  display: none;
}

/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  background-image: url("/images/projects/website-templates/dashboard-background.png");
  line-height: 1.6;
}

.dashboard-banner {
  color: #fff;
  display: grid;
  grid-template-columns: max-content max-content;
  justify-content: space-around;
  padding-top: 2rem;
  width: 100%;
}

.flex-row {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
}

.btn-add-page {
  background: linear-gradient(hsl(38, 84%, 75%), hsl(31, 51%, 50%));
  border: none;
  border-radius: var(--border-radius);
  color: hsl(0, 100%, 0%);
  font-size: 1rem;
  font-weight: bold;
  padding: 0.5rem 1rem;
}

.btn-action {
  align-items: center;
  background: linear-gradient(hsl(242, 48%, 32%), hsl(240, 60%, 16%));
  border: none;
  border-radius: var(--border-radius);
  color: #fff;
  display: flex;
  font-size: 0.875rem;
  font-weight: bold;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  text-transform: uppercase;
  transition: 0.6s background ease-in-out, 0.6s color ease-in-out;
}

.btn-action:hover {
  background: hsl(207, 58%, 35%);
  /*background: linear-gradient(hsl(202, 55%, 39%), hsl(202, 59%, 32%));*/
  color: #000;
}

.btn-group {
  text-align: right;
}

/* Header */
header {
  /*display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);*/
}

.top-line {
  background: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  width: 100%;
}

.menu ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.menu ul li a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 600;
  text-transform: uppercase;
  transition: color var(--transition);
}

nav a:hover {
  color: var(--color-primary);
}

.logo-wrapper {
  display: flex;
  justify-content: center;
  margin: 1rem 0 0 0;
  padding: 0;
}

/* DASHBOARD Section */
section.dashboard {
  display: flex;
  justify-content: center;
}

.container {
  /*border: 1px solid #1f2937;*/
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  padding: 1rem;
  width: 1200px;
}

.container-add-page {
  background: hsl(235, 69%, 13%);
  background-color: hsla(235, 69%, 13%, 0.75);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  color: #fff;
  padding: 1rem;
  margin-top: 2rem;
  width: max-content;
}

.dashboard-heading {
  text-transform: uppercase;
}

table.dashboard-table {
  border-collapse: collapse;
  border-top-left-radius: 8px;
}

.dashboard-table {
  background: hsl(239, 56%, 24%);
  color: #fff;
  margin-top: 1rem;
  opacity: 0.9;
  width: 100%;
}

.dashboard-table > thead {
  /*background: #856d4d;*/
  /*background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));*/
  color: #fff;
}

.dashboard-table > thead > tr {
  border-top: 1px solid hsl(241, 33%, 56%);
}

.dashboard-table > thead > tr > th:first-child, .dashboard-table > tbody > tr > td:first-child {
  border-left: 1px solid hsl(241, 33%, 56%);
}

.dashboard-table > thead > tr > th:last-child, .dashboard-table > tbody > tr > td:last-child {
  border-right: 1px solid hsl(241, 33%, 56%);
}

.dashboard-table > thead > tr, .dashboard-table > tbody > tr {
  border-bottom: 1px solid hsl(241, 33%, 56%);
}

.dashboard-table > thead > tr > th {
  padding: 1rem;
  text-align: left;
}

.dashboard-table > tbody > tr > td {
  padding: 1rem;
}

.dashboard-table > thead > tr:first-child th:first-child {
  border-top-left-radius: 18px;
}

.dashboard-table > thead > tr:first-child th:last-child {
  border-top-right-radius: 18px;
}

/* DASHBOARD ADD PAGE Section */
.form-wrapper {
  /*display: flex;
  flex-direction: column;*/
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.form-wrapper-three-column {
  /*display: flex;
  flex-direction: column;*/
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.form-section {
  border: 1px solid #fff;
  border-radius: 4px;
  margin-bottom: 1rem;
  padding: 1rem;
}

.page-section {
  border: 1px solid #000;
  border-radius: var(--border-radius);
  display: flex;
  flex-direction: column;
  padding: 1rem;
}

.page-section > .form-set {
  align-items: center;
  display: grid;
  gap: 1rem;
  grid-template-columns: 150px 300px;
}

.form-set {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

/*.form-set > label:first-child {
    text-align: right;
}*/
.form-set > input, .form-set > textarea, .form-set > select {
  background: hsl(236, 53%, 24%);
  border: 1px solid rgba(0, 0, 0, 0.25);
  border: none;
  border-radius: var(--border-radius);
  box-shadow: none;
  color: #fff;
  padding: 0.5rem 1rem;
}

.form-set > select {
  margin-bottom: 1rem;
}

.form-set > .form-check-input {
  justify-self: start;
}

.form-set > textarea {
  height: 200px;
}

.form-set.grid-align-start {
  align-items: start;
}

.form-set.checkbox {
  display: grid;
  gap: 1rem;
  grid-template-columns: max-content max-content;
}

/* Hero Section */
section.hero {
  display: grid;
  justify-items: center;
}

section.hero > .container {
  padding: 0;
  width: 1500px;
}

.hero {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: white;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

section.content {
  display: grid;
  justify-items: center;
  margin-top: 2rem;
  width: 100%;
}

section.content > .container {
  width: 1200px;
}

.content-img {
  width: 100%;
}

.content-img-medium {
  width: 75%;
}

.two-column-content {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(2, 1fr);
}

.two-column-content > div:last-child {
  text-align: center;
}

ul {
  list-style: none;
  margin-left: 2rem;
}

ul.four-column-list {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, 1fr);
}

.content-img-small {
  width: 75%;
}

/* Buttons */
.btn {
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  display: inline-block;
  font-weight: 600;
  outline: none;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: 0.4s background ease-in-out;
}

.btn:hover {
  background: var(--color-secondary);
}

.button-group {
  margin-top: 1rem;
  text-align: right;
}

.btn-primary {
  background: linear-gradient(hsl(228, 84%, 51%), hsl(227, 82%, 28%));
  color: #fff;
  transition: 0.6s background ease-in-out, 0.6s color ease-in-out;
}

.btn-primary:hover {
  background: linear-gradient(hsl(267, 82%, 58%), hsl(220, 90%, 61%));
  color: #000;
}

.btn-secondary {
  background: linear-gradient(hsl(239, 45%, 27%), hsl(235, 68%, 13%));
  color: #fff;
  transition: 0.4s background ease-in-out, 0.4s color ease-in-out;
}

.btn-secondary:hover {
  background: linear-gradient(hsl(220, 90%, 61%), hsl(267, 82%, 58%));
  color: #000;
}

/* Footer */
.footer-wrapper {
  margin-top: 2rem;
}

footer {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-top: 1px solid #e5e7eb;
  color: white;
  display: grid;
  justify-items: center;
  font-size: 0.9rem;
  padding: 2rem;
}

.footer {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(5, 1fr);
}

.footer-column > h5 {
  color: hsl(232, 97%, 11%);
  font-size: 1rem;
  text-transform: uppercase;
}

.footer-column > ul {
  margin-left: unset;
}

.bottom-line {
  color: #1f2937;
  font-style: italic;
  font-size: 0.75rem;
  margin-top: 2rem;
}

.bottom-line > hr {
  margin: 2rem 0;
}

.dashboard-heading {
  text-transform: uppercase;
}

.icon {
  color: hsl(221, 89%, 61%);
  color: hsl(207, 58%, 35%);
  transition: 0.4s color ease-in-out;
}

.btn-action span.icon:hover {
  color: hsl(266, 81%, 58%);
  color: linear-gradient(hsl(242, 48%, 32%), hsl(240, 60%, 16%));
}

.icon:hover {
  color: hsl(266, 81%, 58%);
}

/*
.odd {
    background: hsl(266, 82%, 58%);
    color: #fff;
}

.odd .icon {
    color: #fff;
    transition: .4s color ease-in-out;
}

.odd .icon:hover {
    color: hsl(221, 89%, 61%);
}*/
.btn-published {
  background: linear-gradient(hsl(202, 55%, 39%), hsl(202, 59%, 32%));
  border-radius: var(--border-radius);
  font-weight: bold;
  padding: 0.5rem 1rem;
}
