/* Page Specific Styles for positive_51.html */

/* Hero / Header Section */
#positive-51 header {
  margin-bottom: 4rem;
  text-align: center;
  padding: 3rem 1.5rem;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-radius: 20px;
  box-shadow: 0 10px 25px -5px rgba(116, 185, 255, 0.15);
}

#positive-51 .page-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  line-height: 1.4;
}

#positive-51 .page-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 5px;
  background: var(--gradient-1); /* Use the nice gradient */
  margin: 1rem auto 0;
  border-radius: 10px;
}

#positive-51 .subtitle {
  font-size: 1.1rem;
  color: #475569;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-top: 1rem;
}

/* Content Sections */
#positive-51 section {
  margin-bottom: 4rem;
}

#positive-51 h3 {
  font-size: 1.5rem;
  color: #1e293b;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  border-left: 4px solid var(--accent-color);
}

#positive-51 p {
  margin-bottom: 1.5rem;
  color: #334155;
  line-height: 1.8;
}

/* Quote / Emphasis Box */
/* Quote / Emphasis Box (Refined Warning) */
.emphasis-box {
    background: #fff7ed; /* Light Orange/Yellow tint */
    border-left: 5px solid #f97316;
    padding: 2rem;
    border-radius: 12px;
    margin: 2.5rem 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.emphasis-box::before {
    content: "\f071"; /* Exclamation Triangle */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: -10px;
    right: 10px;
    font-size: 5rem;
    color: rgba(249, 115, 22, 0.05);
    transform: rotate(15deg);
}

.emphasis-box strong {
    display: block;
    font-size: 1.25rem;
    color: #c2410c; /* Darker Orange */
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.emphasis-box strong i {
    font-size: 1.1rem;
}

/* Rolling Pie Diagram (Restored) */
.diagram-wrapper {
    margin: 3rem auto;
    max-width: 500px;
    font-family: sans-serif;
    text-align: center;
}

.diagram-header {
    margin-bottom: 1rem;
    position: relative;
}

.diagram-header p {
    font-weight: bold;
    color: #444;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.diagram-header i {
    font-size: 3rem;
    color: #f97316; /* Orange */
    filter: drop-shadow(2px 2px 0px rgba(0,0,0,0.2));
}

.chart-container {
    position: relative;
    width: 260px;
    height: 260px;
    margin: 0 auto;
}

.decorative-arrow {
    position: absolute;
    font-size: 4rem;
    color: #60a5fa;
    opacity: 0.6;
}

.arrow-top-left {
    top: -20px;
    left: -40px;
    transform: rotate(-30deg);
}

.arrow-bottom-right {
    bottom: -20px;
    right: -40px;
    transform: rotate(150deg);
}

.rolling-pie {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    /* Original Gradient: Orange 51%, Greenish 49% */
    background: conic-gradient(#f97316 0% 51%, #84cc16 51% 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 4px solid #fff;
    position: relative;
    z-index: 2;
    transition: transform 0.8s ease-in-out;
}

.diagram-wrapper:hover .rolling-pie {
    transform: rotate(360deg);
}

.pie-divider {
    position: absolute;
    width: 2px;
    height: 100%;
    background: rgba(255,255,255,0.8);
}

.pie-label {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    font-weight: bold;
    line-height: 1.2;
}

.label-left {
    left: 12%;
}

.label-right {
    right: 12%;
}

.label-percent {
    font-size: 1.4rem;
}

.label-text {
    font-size: 0.8rem;
}

/* Example List */
.example-list {
  list-style: none;
  padding: 0;
}

.example-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.example-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-color: var(--accent-color);
}

.example-title {
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.example-title i {
  color: var(--accent-color);
}

/* Navigation Buttons at bottom */
/* .page-nav removed as we are using .page-nav-3btn from layout.css */
/* .nav-button removed as we are using .nav-btn from layout.css */

/* Background Decoration */
body::before {
    content: "51%";
    position: fixed;
    top: 20%;
    left: -5%;
    font-size: 20rem;
    font-weight: 900;
    color: rgba(116, 185, 255, 0.03); /* Extremely subtle */
    z-index: -1;
    pointer-events: none;
    font-family: 'Outfit', sans-serif;
    transform: rotate(-15deg);
}

body::after {
    content: "49%";
    position: fixed;
    bottom: 10%;
    right: -5%;
    font-size: 20rem;
    font-weight: 900;
    color: rgba(148, 163, 184, 0.03); /* Subtle grey */
    z-index: -1;
    pointer-events: none;
    font-family: 'Outfit', sans-serif;
    transform: rotate(15deg);
}

/* Action Checklist */
.action-checklist {
    background: #fff;
    border: 2px dashed #cbd5e1;
    border-radius: 15px;
    padding: 2rem;
    margin: 4rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checklist-title {
    text-align: center;
    font-size: 1.3rem;
    color: #1e293b;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.checklist-title i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s;
    cursor: pointer;
    border-radius: 8px;
    width: 100%; /* Ensure full width */
    box-sizing: border-box;
}

.checklist-item:last-child {
    border-bottom: none;
}

.checklist-item:hover {
    background: #f8fafc;
}

/* Custom Checkbox */
.custom-checkbox {
    width: 24px;
    height: 24px;
    border: 2px solid #94a3b8;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.2s;
    flex-shrink: 0;
}

.checklist-input:checked + .custom-checkbox {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: scale(1.1);
}

.checklist-input {
    display: none; /* Hide default checkbox */
}

.checklist-label {
    font-weight: 500;
    color: #475569;
    flex-grow: 1;
    transition: color 0.2s;
}

.checklist-input:checked ~ .checklist-label {
    color: #94a3b8;
    text-decoration: line-through;
}

.msg-bubble {
    font-size: 0.8rem;
    color: var(--accent-color);
    font-weight: bold;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s;
}

.checklist-input:checked ~ .msg-bubble {
    opacity: 1;
    transform: translateX(0);
}

/* Reveal Animation Base */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
