/*
Theme Name: KaziCollect Theme
Theme URI: https://kazicollect.com/
Author: KaziCollect
Author URI: https://kazicollect.com/
Description: Custom WordPress theme for KaziCollect.
Version: 1.1.0
Text Domain: kazicollect-theme
*/

/* ===== Reset / Base ===== */
:root {
  --kc-green: #1FAF5B;
  --kc-dark: #0E3B2C;
  --kc-accent: #F9A826;
  --kc-light: #F5F7F6;
  --kc-text: #1F2D27;
  --kc-border: #DDE5E0;
  --kc-white: #FFFFFF;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--kc-text);
  background: var(--kc-light);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

.kc-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* ===== Header ===== */
.kc-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--kc-border);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

body.admin-bar .kc-site-header {
  top: 32px;
}

.kc-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 76px;
  padding: 10px 0;
  flex-wrap: wrap;
}

.kc-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 240px;
  overflow: hidden;
}

.kc-logo img {
  max-height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

.kc-logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--kc-green);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  flex: 0 0 38px;
}

.kc-logo-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--kc-dark);
  letter-spacing: 0.2px;
  line-height: 1.1;
}

.kc-logo{
display:none;
}
.kc-main-nav {
  display: flex;
  align-items: center;
}

.kc-nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.kc-nav-list li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.kc-nav-list a {
  display: inline-block;
  color: var(--kc-dark);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  padding: 10px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.kc-nav-list a:hover {
  background: #edf7f0;
  color: var(--kc-green);
}

.kc-nav-btn {
  background: var(--kc-green);
  color: #fff !important;
  padding: 11px 16px !important;
  border-radius: 10px !important;
}

.kc-nav-btn:hover {
  background: #16984d !important;
  color: #fff !important;
}

.kc-nav-btn-outline {
  background: #fff;
  border: 1px solid var(--kc-border);
  color: var(--kc-dark) !important;
}

.kc-nav-btn-outline:hover {
  background: #f6f8f7 !important;
  color: var(--kc-dark) !important;
}

/* ===== Generic Page Content ===== */
main,
.kc-page-wrap {
  width: 100%;
}

.kc-page-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 16px 48px;
}

.entry-content,
.page-content {
  width: 100%;
}

.kc-dashboard-content,
.kc-dashboard-page article,
.kc-dashboard-page .entry-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.kc-dashboard-content { overflow-x: clip; }

.kc-entry-title {
  margin: 0 0 24px;
  color: var(--kc-dark);
  line-height: 1.2;
}

.kc-empty-state {
  padding: 32px;
  border: 1px solid var(--kc-border);
  border-radius: 16px;
  background: var(--kc-white);
}

.kc-verification-notice {
  padding: 10px 16px;
  border-bottom: 1px solid #f1d88a;
  background: #fff8db;
  color: #5d4a00;
  text-align: center;
}

.kc-verification-notice a {
  margin-left: 8px;
  color: #0b6b3a;
  font-weight: 700;
  text-decoration: underline;
}

/* ===== Sections / Cards ===== */
.kc-section {
  padding: 80px 0;
}

.kc-card {
  background: #fff;
  border: 1px solid var(--kc-border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 10px 24px rgba(14, 59, 44, 0.06);
}

.kc-title {
  color: var(--kc-dark);
  margin-top: 0;
}

.kc-btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 700;
}

.kc-btn-primary {
  background: var(--kc-green);
  color: #fff;
}

.kc-btn-secondary {
  background: #fff;
  color: var(--kc-dark);
  border: 1px solid var(--kc-border);
}

/* ===== Forms ===== */
input,
select,
textarea,
button {
  font: inherit;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="file"],
select,
textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--kc-border);
  border-radius: 8px;
  background: #fff;
}

button,
input[type="submit"] {
  background: var(--kc-green);
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 10px 16px;
  cursor: pointer;
}

button:hover,
input[type="submit"]:hover {
  background: #16984d;
}

/* ===== Dashboard ===== */
.kc-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.kc-dashboard-card {
  background: #fff;
  border: 1px solid var(--kc-border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 10px 24px rgba(14, 59, 44, 0.06);
}

.kc-dashboard-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--kc-dark);
  font-size: 18px;
}

.kc-dashboard-stat {
  font-size: 32px;
  font-weight: 800;
  color: var(--kc-green);
  line-height: 1.1;
}

/* ===== Tables ===== */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

table th,
table td {
  padding: 12px;
  border: 1px solid var(--kc-border);
  text-align: left;
}

table th {
  background: #f0f6f2;
  color: var(--kc-dark);
}

/* ===== Footer ===== */
.site-footer,
footer {
  background: var(--kc-dark);
  color: #d8e4de;
  padding: 40px 0;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .kc-header-inner {
    align-items: flex-start;
  }

  .kc-main-nav {
    width: 100%;
  }

  .kc-nav-list {
    width: 100%;
    gap: 10px;
  }

  .kc-nav-list a {
    display: inline-block;
  }

  .kc-dashboard-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 782px) {
  body.admin-bar .kc-site-header {
    top: 46px;
  }
}

@media (max-width: 640px) {
  .kc-logo {
    max-width: 180px;
  }

  .kc-logo img {
    max-height: 40px;
    max-width: 160px;
  }

  .kc-logo-text {
    font-size: 19px;
  }

  .kc-nav-list {
    flex-direction: column;
    align-items: flex-start;
  }

  .kc-nav-list li {
    width: 100%;
  }

  .kc-nav-list a {
    display: block;
    width: 100%;
  }

  .kc-section {
    padding: 56px 0;
  }

  .kc-dashboard-grid {
    grid-template-columns: 1fr;
  }
}
.entry-content{
  width:100%;
}

.entry-content > *:first-child{
  margin-top:0;
}

.entry-content form{
  background:#fff;
}

@media (max-width: 640px){
  .kc-dashboard-grid{
    grid-template-columns:1fr;
  }
}
/* ===== Generator Request Form Styling ===== */

.kc-tool-box form {
  display: block;
  background: #fff;
  padding: 24px;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(14,59,44,.08);
}

/* Form groups */
.kc-tool-box label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #0e3b2c;
}

.kc-tool-box input,
.kc-tool-box select,
.kc-tool-box textarea {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #d9e6de;
  margin-bottom: 16px;
  font-size: 14px;
}

/* Two-column layout for inputs */
.kc-tool-box .kc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Full width override */
.kc-tool-box .kc-full {
  grid-column: span 2;
}

/* Waste type checkboxes */
.kc-tool-box input[type="checkbox"] {
  width: auto;
  margin-right: 6px;
}

.kc-tool-box .kc-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

/* Button */
.kc-tool-box button,
.kc-tool-box input[type="submit"] {
  background: #1faf5b;
  color: #fff;
  border: none;
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.kc-tool-box button:hover,
.kc-tool-box input[type="submit"]:hover {
  background: #16984d;
}

/* Section spacing */
.kc-tool-box h3 {
  margin-top: 20px;
  margin-bottom: 10px;
  color: #0e3b2c;
}

/* Mobile */
@media (max-width: 640px) {
  .kc-tool-box .kc-row {
    grid-template-columns: 1fr;
  }
  
  .kc-site-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: #063b36;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    width: 100%;
}

.kc-header-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 16px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.kc-header-left {
    display: flex;
    align-items: center;
    min-width: 180px;
}

.kc-header-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}

.kc-header-logo img {
    max-height: 42px;
    width: auto;
}

.kc-header-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.kc-menu {
    display: flex;
    align-items: center;
    gap: 34px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.kc-menu li {
    position: relative;
    list-style: none;
}

.kc-menu li a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.kc-menu li a:hover {
    opacity: 0.8;
}

.kc-header-right {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 220px;
    justify-content: flex-end;
}

.kc-lang-switch {
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
}

.kc-header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #063b36;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.kc-header-cta:hover {
    background: #f3f5f4;
    color: #063b36;
}

.kc-mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

.kc-site-header .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #0b4b44;
    min-width: 220px;
    padding: 10px 0;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    z-index: 999;
}

.kc-site-header .sub-menu li {
    display: block;
}

.kc-site-header .sub-menu li a {
    display: block;
    padding: 10px 16px;
    color: #fff;
}

.kc-site-header .menu-item-has-children:hover > .sub-menu {
    display: block;
}

body.admin-bar .kc-site-header {
    top: 32px;
}

@media (max-width: 980px) {
    .kc-header-nav {
        display: none;
    }

    .kc-mobile-toggle {
        display: inline-block;
    }

    .kc-header-inner {
        padding: 14px 18px;
    }

    .kc-header-cta {
        padding: 10px 14px;
        font-size: 13px;
    }
}

.site-header,
.main-header,
.header,
#masthead {
    display: none !important;
}
}
