/* =========================
   KASIBUKKIE STYLE SHEET
========================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Barlow+Condensed:wght@700;900&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

:root{
    --black:#0D0D0D;
    --yellow:#F5C518;
    --yellow-dark:#D4A800;
    --white:#FFFFFF;
    --off:#F7F7F7;
    --border:#E5E5E5;
    --text:#1A1A1A;
    --muted:#888;
    --green:#22C55E;
    --red:#EF4444;
}

body{
    font-family:'Inter',sans-serif;
    background:#ffffff;
    color:var(--text);
    min-height:100vh;
}

/* =========================
   NAVBAR
========================= */

.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 8%;
    background:#fff;
    border-bottom:1px solid var(--border);
}

.logo{
    font-family:'Barlow Condensed',sans-serif;
    font-size:2rem;
    font-weight:900;
    text-decoration:none;
    color:var(--black);
}

.logo span{
    color:var(--yellow);
}

.nav-links{
    display:flex;
    gap:25px;
}

.nav-links a{
    text-decoration:none;
    color:var(--white);
    font-weight:600;
}

.nav-links a:hover{
    color:var(--yellow);
}

.nav-buttons{
    display:flex;
    gap:10px;
}

/* =========================
   BUTTONS
========================= */

.btn{
    display:inline-block;
    padding:12px 24px;
    border-radius:8px;
    text-decoration:none;
    cursor:pointer;
    border:none;
    font-weight:700;
    transition:0.3s;
}

.btn-yellow{
    background:var(--yellow);
    color:var(--black);
}

.btn-yellow:hover{
    background:var(--yellow-dark);
}

.btn-dark{
    background:var(--black);
    color:var(--white);
}

.btn-dark:hover{
    opacity:0.9;
}

.btn-outline{
    border:2px solid var(--border);
    color:var(--black);
    background:#fff;
}

.btn-outline:hover{
    background:var(--off);
}

/* =========================
   HERO
========================= */

.hero{
    display:grid;
    grid-template-columns:1fr 1fr;
    align-items:center;
    gap:50px;
    padding:80px 8%;
}

.hero-small{
    text-transform:uppercase;
    letter-spacing:2px;
    color:var(--muted);
    margin-bottom:10px;
}

.hero-title{
    font-family:'Barlow Condensed',sans-serif;
    font-size:70px;
    line-height:0.95;
    text-transform:uppercase;
    margin-bottom:20px;
}

.hero-text{
    color:var(--muted);
    line-height:1.8;
    margin-bottom:25px;
}

.hero-buttons{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
}

.hero-image{
    background:#f8f8f8;
    border-radius:20px;
    height:400px;
    overflow:hidden;
}

.hero-image img{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* =========================
   SECTION
========================= */

.section{
    padding:80px 8%;
}

.section-label{
    text-align:center;
    color:var(--yellow);
    text-transform:uppercase;
    letter-spacing:2px;
    font-weight:700;
}

.section-title{
    text-align:center;
    font-family:'Barlow Condensed',sans-serif;
    font-size:60px;
    margin-top:10px;
}

.section-sub{
    text-align:center;
    color:var(--muted);
    margin-top:10px;
    margin-bottom:50px;
}

/* =========================
   CARDS
========================= */

.card-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.card{
    background:#fff;
    border:1px solid var(--border);
    border-radius:15px;
    padding:25px;
    transition:0.3s;
}

.card:hover{
    transform:translateY(-5px);
}

.card-icon{
    font-size:40px;
    margin-bottom:15px;
}

.card-title{
    font-size:20px;
    font-weight:700;
    margin-bottom:10px;
}

.card-text{
    color:var(--muted);
    line-height:1.6;
}

/* =========================
   AUTH FORMS
========================= */

.auth-container{
    display:flex;
    justify-content:center;
    align-items:center;
    min-height:80vh;
    padding:30px;
}

.auth-box{
    width:100%;
    max-width:500px;
    background:#fff;
    border:1px solid var(--border);
    border-radius:15px;
    padding:30px;
}

.auth-title{
    text-align:center;
    font-size:32px;
    font-weight:800;
    margin-bottom:20px;
}

.form-group{
    margin-bottom:15px;
}

.form-group label{
    display:block;
    margin-bottom:5px;
    font-weight:600;
}

.form-control{
    width:100%;
    padding:12px;
    border:1px solid var(--border);
    border-radius:8px;
    font-size:15px;
}

.form-control:focus{
    outline:none;
    border-color:var(--yellow);
}

.role-select{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
    margin-bottom:20px;
}

.role-card{
    border:2px solid var(--border);
    border-radius:10px;
    padding:20px;
    text-align:center;
    cursor:pointer;
}

.role-card:hover{
    border-color:var(--yellow);
}

.role-card.active{
    border-color:var(--yellow);
    background:#fffdf0;
}

/* =========================
   DASHBOARD
========================= */

.dashboard{
    padding:30px 8%;
}

.dashboard-title{
    font-size:32px;
    font-weight:800;
    margin-bottom:25px;
}

.stats-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
    margin-bottom:30px;
}

.stat-card{
    background:#fff;
    border:1px solid var(--border);
    border-radius:15px;
    padding:20px;
}

.stat-number{
    font-size:32px;
    font-weight:800;
    color:var(--black);
}

.stat-label{
    color:var(--muted);
}

.table-container{
    overflow-x:auto;
    background:#fff;
    border:1px solid var(--border);
    border-radius:15px;
}

table{
    width:100%;
    border-collapse:collapse;
}

table th{
    background:var(--off);
    padding:15px;
    text-align:left;
}

table td{
    padding:15px;
    border-top:1px solid var(--border);
}

/* =========================
   FOOTER
========================= */

.footer{
    background:var(--black);
    color:white;
    text-align:center;
    padding:40px 20px;
}

.footer h2{
    font-family:'Barlow Condensed',sans-serif;
    font-size:36px;
}

.footer span{
    color:var(--yellow);
}

/* =========================
   MOBILE
========================= */

@media(max-width:900px){

.hero{
    grid-template-columns:1fr;
}

.hero-title{
    font-size:50px;
}

.nav-links{
    display:none;
}

}

@media(max-width:600px){

.section-title{
    font-size:40px;
}

.hero-title{
    font-size:42px;
}

.auth-box{
    padding:20px;
}

}

///new pages**
/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

/* Body */
body {
  background: #f4f4f4;
  color: #333;
  line-height: 1.6;
}

/* Navbar */
.navbar {
  background: #222; /* Dark base */
  color: #fff;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar .logo {
  font-size: 22px;
  font-weight: bold;
}

.navbar .logo span {
  color: #f9c74f; /* Gold accent for "Bukkie" */
}

.navbar .logo {
  color: #fff; /* White for "Kasi" */
}


.navbar .nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.navbar .nav-links li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.navbar .nav-links li a:hover {
  color: #f9c74f;
}

/* Dashboard Container */
.dashboard {
  max-width: 1000px;
  margin: 30px auto;
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Headings */
.dashboard h1, .dashboard h2 {
  margin-bottom: 15px;
  color: #222;
}

/* Buttons */
.btn {
  padding: 8px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease-in-out;
}

.btn-green { background: #43aa8b; color: #fff; }
.btn-red { background: #d62828; color: #fff; }
.btn-yellow { background: #f9c74f; color: #222; }
.btn-blue { background: #577590; color: #fff; }
.btn-dark { background: #222; color: #fff; }

.btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* Tables */
.table-container {
  overflow-x: auto;
  margin-top: 20px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

table th, table td {
  padding: 12px;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

table th {
  background: #f9c74f; /* Accent header */
  color: #222;
  font-weight: bold;
}

/* Popup */
.popup {
  position: fixed;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
  z-index: 1000;
  width: 350px;
}

.popup h3 {
  margin-bottom: 15px;
  color: #222;
}

/* Wallet & Ratings */
.wallet, .ratings {
  margin-top: 20px;
  padding: 20px;
  background: #f1f1f1;
  border-radius: 6px;
}

.wallet h2, .ratings h2 {
  margin-bottom: 10px;
  color: #222;
}

/* Heatmap Placeholder */
#heatmap {
  border: 2px dashed #f9c74f; /* Accent border */
  display: flex;
  justify-content: center;
  align-items: center;
  color: #777;
  font-style: italic;
  height: 300px;
}

/* Settings Page */
.settings {
  margin-top: 30px;
}

.settings h2 {
  margin-bottom: 10px;
  color: #222;
}

.settings .form-group {
  margin-bottom: 15px;
}

.settings input[type="text"],
.settings input[type="file"],
.settings input[type="date"] {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
}
/* Logout button styled like Bukkie */
.btn-logout {
  background: #f9c74f;   /* Gold accent */
  color: #222;           /* Dark text for contrast */
  padding: 8px 15px;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.btn-logout:hover {
  background: #f7b733;   /* Slightly darker gold on hover */
  transform: translateY(-2px);
}

/* Rating Popup */
#rating-popup {
  position: fixed;
  top: 25%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
  z-index: 1000;
  width: 350px;
}

.star-rating {
  display: flex;
  gap: 8px;
  font-size: 28px;
  cursor: pointer;
  margin: 15px 0;
}

.star {
  color: #ccc;
  transition: color 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.star:hover,
.star.selected {
  color: #f9c74f; /* Gold accent */
  transform: scale(1.2);
}
 /*client Settings*/
 /* Header styling */
.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #222;
  padding: 15px 20px;
  border-bottom: 2px solid #f9c74f;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
}

.logo span {
  color: #f9c74f; /* gold accent */
}

.btn-gold {
  background: #f9c74f;
  color: #222;
  padding: 10px 15px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

.btn-gold:hover {
  background: #e0b94d;
}
/* Scoped to client info page only */
.client-info-page {
  background: #222;
  color: #fff;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

.client-info-page .app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #222;
  padding: 15px 20px;
  border-bottom: 2px solid #f9c74f;
}

.client-info-page .logo {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
}

.client-info-page .logo span {
  color: #f9c74f;
}

.client-info-page .btn-gold {
  background: #f9c74f;
  color: #222;
  padding: 10px 15px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

.client-info-page .btn-gold:hover {
  background: #e0b94d;
}

.client-info-page .settings-container {
  max-width: 600px;
  margin: auto;
  padding: 20px;
}

.client-info-page .settings-card {
  background: #333;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 1px solid #444;
}

.client-info-page .settings-card h2,
.client-info-page .settings-card h3,
.client-info-page .settings-card h4 {
  margin-top: 0;
  color: #f9c74f;
}

.client-info-page label {
  display: block;
  margin-top: 10px;
  color: #fff;
}

.client-info-page input,
.client-info-page textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border-radius: 6px;
  border: 1px solid #555;
  background: #222;
  color: #fff;
}

.client-info-page button {
  padding: 12px;
  margin-top: 10px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
}

.client-info-page .btn-blue { background: #f9c74f; color: #222; font-weight: bold; }
.client-info-page .btn-blue:hover { background: #e0b94d; }

.client-info-page .btn-green { background: #28a745; color: #fff; }
.client-info-page .btn-green:hover { background: #1e7e34; }

.client-info-page .btn-red { background: #dc3545; color: #fff; }
.client-info-page .btn-red:hover { background: #a71d2a; }

.client-info-page #chatMessages {
  height: 150px;
  overflow-y: auto;
  background: #222;
  padding: 8px;
  margin-bottom: 10px;
  border-radius: 4px;
  border: 1px solid #444;
}
