
/* =========================================================
   CARAGAH AI | PREMIUM VEHICLE REPORT
   File: caragah-renderReport.css
   Version: 2.0
   Theme: Luxury White / Gold / Pink
========================================================= */

/* MAIN WRAPPER */
.ca-r-wrap {
  direction: rtl;
  width: 100%;
  max-width: 100%;
  margin: 20px auto;
  padding: 0;
  box-sizing: border-box;
  font-family: Vazirmatn, Tahoma, Arial, sans-serif;
  color: #343434;
  background: #f7f7f8;
  border: 1px solid #e9e4dc;
  border-radius: 18px;
  overflow: hidden;
  line-height: 1.9;
}

.ca-r-wrap *,
.ca-r-wrap *::before,
.ca-r-wrap *::after {
  box-sizing: border-box;
}

/* HEADER */
.ca-r-top {
  position: relative;
  padding: 25px 24px 20px;
  color: #fff;
  background: linear-gradient(125deg, #282528, #494047);
  border-bottom: 4px solid #d4af37;
}

.ca-r-head-row {
  display: flex;
  align-items: center;
  gap: 15px;
}

.ca-r-logo {
  width: 55px;
  height: 55px;
  flex: 0 0 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #d4af37;
  border-radius: 14px;
  color: #f1d47a;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 1px;
}

.ca-r-heading {
  min-width: 0;
}

.ca-r-brand {
  color: #e8c65f;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.5px;
}

.ca-r-heading h2 {
  margin: 3px 0;
  color: #fff;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.7;
}

.ca-r-subtitle {
  color: #d9d1d5;
  font-size: 10px;
  direction: ltr;
  text-align: right;
}

.ca-r-date {
  margin-top: 15px;
  color: #e5d8b2;
  font-size: 11px;
  direction: ltr;
  text-align: left;
}

.ca-r-head-meta {
  margin-top: 12px;
}

.ca-r-location {
  display: inline-block;
  padding: 5px 12px;
  color: #f4e5b4;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(212,175,55,.35);
  border-radius: 30px;
  font-size: 11px;
}

/* REPORT BODY */
.ca-r-body {
  padding: 22px;
  background: #f7f7f8;
}

.ca-r-vehicle-title {
  margin: 0 0 18px;
  padding: 0 0 12px;
  color: #353035;
  font-size: 21px;
  font-weight: 900;
  border-bottom: 2px solid #d4af37;
}

/* VEHICLE INFORMATION */
.ca-r-vehicle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  margin-bottom: 18px;
}

.ca-r-vehicle-item {
  min-width: 0;
  padding: 13px;
  background: #fff;
  border: 1px solid #e9e3da;
  border-right: 3px solid #d4af37;
  border-radius: 12px;
  overflow-wrap: anywhere;
  box-shadow: 0 3px 12px rgba(40,30,35,.035);
}

.ca-r-vehicle-item:nth-child(2n) {
  border-right-color: #bd4380;
}

.ca-r-vehicle-item span {
  display: block;
  margin-bottom: 5px;
  color: #888;
  font-size: 11px;
  font-weight: 700;
}

.ca-r-vehicle-item strong {
  display: block;
  color: #343034;
  font-size: 14px;
  font-weight: 900;
}

/* DASHBOARD */
.ca-r-dashboard {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  margin: 18px 0;
}

.ca-r-stat {
  min-width: 0;
  padding: 15px 12px;
  background: #fff;
  border: 1px solid #e9e2d8;
  border-top: 3px solid #d4af37;
  border-radius: 12px;
  text-align: center;
  overflow-wrap: anywhere;
  box-shadow: 0 3px 12px rgba(40,30,35,.04);
}

.ca-r-stat:nth-child(2n) {
  border-top-color: #bd4380;
}

.ca-r-stat-label {
  color: #888;
  font-size: 11px;
  font-weight: 700;
}

.ca-r-stat-value {
  margin-top: 5px;
  color: #373137;
  font-size: 16px;
  font-weight: 900;
}

/* GENERAL CARDS */
.ca-r-card,
.ca-r-section {
  margin: 15px 0;
  padding: 17px;
  background: #fff;
  border: 1px solid #e9e3dc;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(40,30,35,.035);
  overflow-wrap: anywhere;
}

.ca-r-card {
  border-right: 4px solid #d4af37;
}

.ca-r-card:nth-of-type(even) {
  border-right-color: #bd4380;
}

.ca-r-card-title {
  margin: 0 0 13px;
  padding-bottom: 10px;
  color: #393239;
  font-size: 16px;
  font-weight: 900;
  border-bottom: 1px solid #eee8e1;
}

/* SECTION HEADINGS */
.ca-r-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
  padding-bottom: 11px;
  border-bottom: 1px solid #eee8e1;
}

.ca-r-section-number {
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4a3820;
  background: #f4e6b8;
  border: 1px solid #dfc46d;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 900;
}

.ca-r-section-head h3 {
  margin: 0;
  color: #393239;
  font-size: 15px;
  font-weight: 900;
}

/* CONTENT */
.ca-r-section-content {
  color: #555056;
  font-size: 13px;
  line-height: 2;
  overflow-wrap: anywhere;
}

.ca-r-section-content p {
  margin: 8px 0;
}

.ca-r-section-content strong {
  color: #383038;
  font-weight: 900;
}

.ca-r-section-content a {
  color: #a83270;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.ca-r-section-content a:hover {
  color: #d4af37;
  text-decoration: underline;
}

/* LISTS */
.ca-r-list {
  list-style: none;
  margin: 8px 0;
  padding: 0;
}

.ca-r-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 8px 0;
  padding: 9px 11px;
  background: #faf9f8;
  border: 1px solid #f0ece7;
  border-radius: 9px;
  color: #514b51;
  font-size: 13px;
  line-height: 1.9;
}

.ca-r-bullet {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  margin-top: 9px;
  background: #d4af37;
  border-radius: 50%;
}

/* KEY VALUE GRID */
.ca-r-kv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.ca-r-kv {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 11px;
  background: #faf9f8;
  border: 1px solid #eee9e3;
  border-radius: 9px;
  overflow-wrap: anywhere;
}

.ca-r-kv > span {
  color: #888;
  font-size: 11px;
}

.ca-r-kv strong {
  color: #393239;
  font-size: 13px;
  font-weight: 800;
}

/* FOOTER */
.ca-r-footer {
  margin-top: 22px;
  padding: 18px 15px;
  color: #eee6d6;
  background: #302b30;
  border-top: 3px solid #d4af37;
  border-radius: 11px;
  text-align: center;
  font-size: 11px;
  line-height: 2;
}

.ca-r-footer div:first-child {
  margin-bottom: 5px;
  color: #e5c65f;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .ca-r-wrap {
    margin: 12px auto;
    border-radius: 13px;
  }

  .ca-r-top {
    padding: 19px 14px 15px;
  }

  .ca-r-logo {
    width: 45px;
    height: 45px;
    flex-basis: 45px;
    font-size: 17px;
  }

  .ca-r-heading h2 {
    font-size: 17px;
  }

  .ca-r-subtitle {
    font-size: 9px;
  }

  .ca-r-body {
    padding: 13px;
  }

  .ca-r-vehicle-title {
    font-size: 18px;
  }

  .ca-r-vehicle-grid,
  .ca-r-dashboard,
  .ca-r-kv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .ca-r-vehicle-item {
    padding: 10px;
  }

  .ca-r-vehicle-item strong {
    font-size: 12px;
  }

  .ca-r-stat {
    padding: 12px 8px;
  }

  .ca-r-stat-value {
    font-size: 14px;
  }

  .ca-r-card,
  .ca-r-section {
    padding: 13px;
    margin: 11px 0;
  }

  .ca-r-card-title,
  .ca-r-section-head h3 {
    font-size: 14px;
  }

  .ca-r-section-content,
  .ca-r-list li {
    font-size: 12px;
  }
}

@media (max-width: 360px) {
  .ca-r-vehicle-grid,
  .ca-r-dashboard,
  .ca-r-kv-grid {
    grid-template-columns: 1fr;
  }
}
