/* ==========================================
   Dangote Depository Receipts Listing CSS
   InvestIQ Oak Wealth (Pvt) Ltd
   Light Corporate Executive Theme
   ========================================== */

:root {
  --dangote-primary: #003221;
  --dangote-gold: #ba8e32;
  --dangote-gold-light: #d4a643;
  --dangote-accent: #004d33;
  --dangote-light-bg: #f4f8f6;
  --dangote-card-bg: #ffffff;
  --dangote-border: #e2ece7;
  --dangote-text-dark: #1e293b;
  --dangote-text-muted: #526058;
  --dangote-shadow: 0 10px 30px rgba(0, 50, 33, 0.08);
  --dangote-shadow-hover: 0 15px 35px rgba(0, 50, 33, 0.15);
}

body.dangote-portal-page {
  background-color: #ffffff;
  color: var(--dangote-text-dark);
  font-family: 'Open Sans', sans-serif;
  overflow-x: hidden;
}

/* Announcement Top Banner */
.announcement-bar {
  background: linear-gradient(90deg, #002619 0%, #004d33 50%, #002619 100%);
  color: #ffffff;
  padding: 10px 0;
  font-size: 0.9rem;
  border-bottom: 2px solid var(--dangote-gold);
}

.announcement-bar .badge-highlight {
  background-color: var(--dangote-gold);
  color: #002619;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  margin-right: 10px;
  letter-spacing: 0.5px;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.text-gold {
  color: var(--dangote-gold) !important;
}

.text-primary-green {
  color: var(--dangote-primary) !important;
}

/* Hero Section - Light Executive Style */
.dangote-hero {
  background: linear-gradient(135deg, #f0f7f4 0%, #ffffff 50%, #e6f2ec 100%);
  color: var(--dangote-text-dark);
  padding: 110px 0 85px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--dangote-border);
}

.dangote-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--dangote-primary), var(--dangote-gold), var(--dangote-primary));
}

.dangote-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--dangote-gold);
  color: var(--dangote-primary);
  padding: 8px 22px;
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 50, 33, 0.06);
  margin-bottom: 22px;
}

.dangote-hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.9rem;
  font-weight: 800;
  color: var(--dangote-primary);
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.dangote-hero-title span {
  color: var(--dangote-gold);
}

.dangote-hero-subtitle {
  font-size: 1.2rem;
  color: var(--dangote-text-muted);
  max-width: 840px;
  margin: 0 auto 32px;
  font-weight: 400;
  line-height: 1.7;
}

/* Countdown Timer Box - Clean & Light */
.countdown-container {
  background: #ffffff;
  border: 2px solid var(--dangote-gold);
  border-radius: 20px;
  padding: 22px 28px;
  display: inline-block;
  margin-bottom: 32px;
  box-shadow: 0 10px 30px rgba(0, 50, 33, 0.08);
}

.countdown-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--dangote-primary);
  margin-bottom: 12px;
  font-weight: 800;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.timer-unit {
  background: #f4f8f6;
  border: 1px solid var(--dangote-border);
  padding: 10px 18px;
  border-radius: 12px;
  min-width: 78px;
}

.timer-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--dangote-primary);
  line-height: 1;
}

.timer-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--dangote-text-muted);
  margin-top: 5px;
  font-weight: 600;
}

/* Action Buttons */
.hero-cta-buttons .btn {
  padding: 14px 28px;
  font-weight: 700;
  border-radius: 50px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.btn-dangote-primary {
  background: linear-gradient(135deg, var(--dangote-gold) 0%, #a47a28 100%);
  color: #002619 !important;
  border: none;
  box-shadow: 0 4px 15px rgba(186, 142, 50, 0.35);
}

.btn-dangote-primary:hover {
  background: linear-gradient(135deg, #d4a643 0%, var(--dangote-gold) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(186, 142, 50, 0.5);
}

.btn-dangote-green {
  background: var(--dangote-primary);
  color: #ffffff !important;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 50, 33, 0.3);
}

.btn-dangote-green:hover {
  background: var(--dangote-accent);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 50, 33, 0.4);
}

.btn-dangote-outline {
  background: #ffffff;
  color: var(--dangote-primary) !important;
  border: 2px solid var(--dangote-primary);
}

.btn-dangote-outline:hover {
  background: var(--dangote-primary);
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* Deal Highlights Bar */
.deal-highlights-bar {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 50, 33, 0.1);
  margin-top: -45px;
  position: relative;
  z-index: 10;
  padding: 24px 28px;
  border: 1px solid var(--dangote-border);
}

.highlight-item {
  text-align: center;
  padding: 10px 12px;
  border-right: 1px solid var(--dangote-border);
}

.highlight-item:last-child {
  border-right: none;
}

.highlight-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--dangote-text-muted);
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 5px;
}

.highlight-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dangote-primary);
}

.highlight-value.gold {
  color: var(--dangote-gold);
}

/* Section Styling */
.dangote-section {
  padding: 85px 0;
  background-color: #ffffff;
}

.dangote-section.bg-light-alt {
  background-color: var(--dangote-light-bg);
  border-top: 1px solid var(--dangote-border);
  border-bottom: 1px solid var(--dangote-border);
}

.section-heading {
  text-align: center;
  margin-bottom: 50px;
}

.section-heading .badge-title {
  color: var(--dangote-gold);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.82rem;
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 14px;
  background: rgba(186, 142, 50, 0.1);
  border: 1px solid rgba(186, 142, 50, 0.3);
  border-radius: 30px;
}

.section-heading h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--dangote-primary);
}

.section-heading p {
  color: var(--dangote-text-muted);
  max-width: 720px;
  margin: 10px auto 0;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* REAL MARKET & INVESTMENT INTELLIGENCE SECTION */
.info-tab-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid var(--dangote-border);
  padding: 32px;
  box-shadow: var(--dangote-shadow);
}

.info-nav-btn {
  background: #f4f8f6;
  border: 1px solid var(--dangote-border);
  color: var(--dangote-primary);
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: left;
  transition: all 0.25s ease;
  width: 100%;
}

.info-nav-btn:hover, .info-nav-btn.active {
  background: var(--dangote-primary);
  border-color: var(--dangote-primary);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 50, 33, 0.2);
}

.info-display-box {
  background: #f9fbf9;
  border: 1px solid var(--dangote-border);
  border-radius: 16px;
  padding: 24px;
  min-height: 220px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--dangote-text-dark);
}

.info-display-box h4 {
  color: var(--dangote-primary);
  font-size: 1.15rem;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--dangote-gold);
  padding-bottom: 6px;
}

/* Telemetry Key Metrics Card */
.metrics-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid var(--dangote-border);
  padding: 28px;
  box-shadow: var(--dangote-shadow);
  height: 100%;
}

.metric-bar-item {
  margin-bottom: 20px;
}

.metric-bar-item:last-child {
  margin-bottom: 0;
}

.metric-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--dangote-text-dark);
  font-weight: 700;
  margin-bottom: 6px;
}

.metric-bar-track {
  height: 10px;
  background: #eef4f1;
  border-radius: 10px;
  overflow: hidden;
}

.metric-bar-fill {
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--dangote-primary) 0%, var(--dangote-gold) 100%);
}

/* Document Cards */
.doc-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid var(--dangote-border);
  padding: 30px;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--dangote-shadow);
  position: relative;
  overflow: hidden;
}

.doc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--dangote-gold);
  transition: width 0.3s ease;
}

.doc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--dangote-shadow-hover);
  border-color: var(--dangote-gold);
}

.doc-card:hover::before {
  width: 8px;
}

.doc-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: rgba(0, 50, 33, 0.08);
  color: var(--dangote-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.doc-card.featured .doc-icon {
  background: rgba(186, 142, 50, 0.15);
  color: var(--dangote-gold);
}

.doc-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dangote-primary);
  margin-bottom: 10px;
}

.doc-meta {
  font-size: 0.82rem;
  color: #718279;
  margin-bottom: 15px;
  display: flex;
  gap: 15px;
}

.doc-desc {
  font-size: 0.95rem;
  color: #4a5851;
  margin-bottom: 25px;
  flex-grow: 1;
  line-height: 1.6;
}

.doc-actions {
  display: flex;
  gap: 10px;
}

.btn-read-doc {
  background: var(--dangote-primary);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 10px;
  padding: 10px 18px;
  flex: 1;
  text-align: center;
  transition: all 0.2s ease;
  border: none;
}

.btn-read-doc:hover {
  background: var(--dangote-accent);
  color: #ffffff;
}

.btn-download-doc {
  background: #f0f5f2;
  color: var(--dangote-primary);
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 10px;
  padding: 10px 18px;
  text-align: center;
  transition: all 0.2s ease;
  border: 1px solid #c2d6cb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.btn-download-doc:hover {
  background: var(--dangote-gold);
  color: #002619;
  border-color: var(--dangote-gold);
}

/* Document Viewer Modal */
.doc-modal .modal-content {
  border-radius: 20px;
  border: none;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.25);
  background: #ffffff;
}

.doc-modal .modal-header {
  background: var(--dangote-primary);
  color: #ffffff;
  padding: 20px 30px;
  border-bottom: 2px solid var(--dangote-gold);
}

.doc-modal .modal-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: #ffffff;
}

.doc-modal .modal-body {
  padding: 30px;
  background: #ffffff;
  max-height: 75vh;
  overflow-y: auto;
  font-size: 0.95rem;
  line-height: 1.7;
}

.doc-content-body h3 {
  color: var(--dangote-primary);
  font-size: 1.3rem;
  font-weight: 700;
  border-bottom: 2px solid var(--dangote-gold);
  padding-bottom: 8px;
  margin-top: 25px;
  margin-bottom: 15px;
}

.doc-content-body h4 {
  color: var(--dangote-accent);
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 18px;
  margin-bottom: 10px;
}

.doc-content-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.doc-content-body th {
  background: var(--dangote-primary);
  color: #ffffff;
  padding: 10px 14px;
  font-size: 0.9rem;
}

.doc-content-body td {
  padding: 10px 14px;
  border-bottom: 1px solid #e5ebe8;
  font-size: 0.9rem;
}

.doc-content-body tr:nth-child(even) {
  background: #f8faf9;
}

/* Layer / Architecture Cards */
.layer-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid var(--dangote-border);
  padding: 28px;
  box-shadow: var(--dangote-shadow);
}

.layer-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--dangote-gold);
}

.layer-header h4 {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dangote-primary);
}

.participant-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 15px;
  padding: 14px;
  border-radius: 12px;
  background: #f9fbfd;
  border: 1px solid #edf2f0;
}

.participant-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(0, 50, 33, 0.08);
  color: var(--dangote-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.participant-details h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dangote-primary);
  margin-bottom: 4px;
}

.participant-details p {
  font-size: 0.88rem;
  color: var(--dangote-text-muted);
  margin: 0;
  line-height: 1.5;
}

/* Calculator Card */
.calc-card {
  background: linear-gradient(135deg, #002619 0%, #004d33 100%);
  color: #ffffff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 15px 40px rgba(0, 38, 25, 0.25);
  border: 1px solid rgba(186, 142, 50, 0.3);
}

.calc-title {
  font-family: 'Montserrat', sans-serif;
  color: #ffffff;
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.calc-input-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #d8e5df;
  margin-bottom: 8px;
}

.calc-input-group .form-control {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(186, 142, 50, 0.5);
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 12px;
}

.calc-input-group .form-control:focus {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--dangote-gold);
  box-shadow: 0 0 0 0.25rem rgba(186, 142, 50, 0.25);
  color: #ffffff;
}

.calc-result-box {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 16px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 20px;
}

.calc-result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.calc-result-item:last-child {
  border-bottom: none;
}

.calc-result-label {
  font-size: 0.9rem;
  color: #aaccbb;
}

.calc-result-val {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}

.calc-result-val.highlight {
  color: var(--dangote-gold);
  font-size: 1.55rem;
}

/* Step Workflow Cards */
.step-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid var(--dangote-border);
  padding: 32px;
  text-align: center;
  height: 100%;
  box-shadow: var(--dangote-shadow);
  position: relative;
}

.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--dangote-gold);
  color: #002619;
  font-weight: 800;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 15px rgba(186, 142, 50, 0.35);
}

.step-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dangote-primary);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 0.92rem;
  color: var(--dangote-text-muted);
  margin: 0;
  line-height: 1.6;
}

/* Contact Cards */
.contact-enquiry-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid var(--dangote-border);
  padding: 32px;
  box-shadow: var(--dangote-shadow);
  height: 100%;
}

.contact-enquiry-card h4 {
  color: var(--dangote-primary);
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--dangote-gold);
}

.contact-detail-line {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 0.95rem;
  color: #334039;
}

.contact-detail-line i {
  color: var(--dangote-gold);
  font-size: 1.25rem;
  margin-top: 2px;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
  .dangote-hero-title {
    font-size: 2.2rem;
  }
  .highlight-item {
    border-right: none;
    border-bottom: 1px solid var(--dangote-border);
    margin-bottom: 15px;
    padding-bottom: 15px;
  }
  .highlight-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
  }
}
