/* styles/gratitude-workbook.css */

/* =========================================
   1. ISOLATION CONTAINER
   ========================================= */
.gratitude-iso-container {
    all: unset; 
    display: block;
    width: 100%;
    font-family: 'Georgia', serif;
    box-sizing: border-box;
}

/* =========================================
   2. THE MASTER SHEET
   ========================================= */
.workbook-sheet {
    background-color: #fdfbf7 !important;
    border: 1px solid #e3dac9 !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
    max-width: 800px;
    margin: 2rem auto;
    padding: 0;
    position: relative;
    border-radius: 4px;
}

/* Gold Binding Line */
.workbook-sheet::before {
    content: "";
    position: absolute;
    top: 0; left: 24px; bottom: 0;
    width: 3px;
    border-left: 2px solid rgba(176, 138, 72, 0.3);
    border-right: 1px solid rgba(176, 138, 72, 0.1);
    z-index: 10;
}

.wb-section {
    padding: 3rem 3rem 3rem 4.5rem !important;
    border-bottom: 4px double #e3dac9 !important;
}
.wb-section:last-child { border-bottom: none !important; }

/* =========================================
   3. TYPOGRAPHY
   ========================================= */
.wb-header-main {
    font-family: serif;
    font-size: 2.5rem !important;
    color: #b08a48 !important;
    text-align: center;
    margin-bottom: 0.5rem !important;
    font-weight: normal !important;
}

.wb-section-title {
    font-family: serif;
    font-size: 1.6rem !important;
    color: #b08a48 !important;
    margin-bottom: 1.5rem !important;
    border-bottom: 1px solid #e3dac9 !important;
    padding-bottom: 0.5rem !important;
}

.wb-label {
    display: block;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    color: #666 !important;
    margin-top: 1.5rem !important;
    margin-bottom: 0.5rem !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================
   4. THE NUCLEAR FIX (HYPER-SPECIFIC)
   ========================================= */
/* We target the body ID + the class to beat pixel-overrides.css */

body[data-page="visionmapping"] .workbook-sheet .wb-input-line,
body[data-page="visionmapping"] .workbook-sheet textarea,
.workbook-sheet input[type="text"],
.workbook-sheet textarea {
    /* 1. Kill the Box */
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important; 
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    appearance: none !important;
    
    /* 2. Force the Line */
    border-bottom: 1px dashed #b08a48 !important; /* Gold dashed line */
    
    /* 3. Text Styling */
    font-family: 'Georgia', serif !important;
    font-size: 1.1rem !important;
    color: #333 !important;
    padding: 8px 0 !important;
    margin-bottom: 5px !important;
    line-height: 1.5 !important;
    height: auto !important;
}

/* Focus State */
body[data-page="visionmapping"] .workbook-sheet .wb-input-line:focus,
body[data-page="visionmapping"] .workbook-sheet textarea:focus {
    border-bottom: 2px solid #b08a48 !important;
    background-color: rgba(255, 255, 255, 0.4) !important;
    box-shadow: none !important;
}

/* Textarea Lines */
body[data-page="visionmapping"] .workbook-sheet textarea {
    border-bottom: none !important;
    background-image: repeating-linear-gradient(transparent, transparent 31px, rgba(176, 138, 72, 0.2) 32px) !important;
    line-height: 32px !important;
    padding: 0 10px !important;
    resize: vertical;
    min-height: 150px !important;
}

/* =========================================
   5. OTHER ELEMENTS
   ========================================= */
/* List Fix */
.d-flex.align-items-end.mb-2 { align-items: baseline !important; }
.d-flex.align-items-end.mb-2 span { margin-right: 15px !important; font-weight: bold; color: #b08a48; }

/* Checkboxes */
.wb-checklist-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #555;
    cursor: pointer;
}
.wb-checklist-item input[type="checkbox"] {
    border: 1px solid #b08a48 !important;
    border-radius: 3px !important;
    width: 18px !important;
    height: 18px !important;
    margin-right: 10px !important;
    background: #fff !important;
    cursor: pointer;
}
.wb-checklist-item input[type="checkbox"]:checked {
    background-color: #b08a48 !important;
}

/* Buttons */
.wb-btn {
    background-color: #b08a48 !important;
    color: #fff !important;
    border: none !important;
    padding: 10px 25px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem !important;
    border-radius: 4px !important;
    cursor: pointer;
    margin-top: 1.5rem !important;
    font-weight: 600;
}
.wb-btn:hover { opacity: 0.9; }

/* Grid Helper */
.wb-row { display: flex; gap: 3rem; flex-wrap: wrap; }
.wb-col { flex: 1; min-width: 280px; }