:root {
    --primary: #921A40;
    --primary-light: #b51e4e;
    --secondary: #F4D9D0;
    --accent: #921A40;
    --background: #FFFFFF;
    --text: #000000;
    --light: #F4D9D0;
    --dark: #1f1f1f;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --gray: #6b7280;
    --medium-gray: #d3b8b0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Manrope', sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text);
    background-color: var(--light);
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(146, 26, 64, 0.2);
    border: 1px solid rgba(146, 26, 64, 0.2);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary);
}

.intro {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.7;
}

.tabs {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.tab {
    flex: 1;
    min-width: 120px;
    padding: 14px;
    text-align: center;
    background-color: var(--secondary);
    cursor: pointer;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Manrope', sans-serif;
    border: 1px solid rgba(146, 26, 64, 0.1);
    color: var(--primary);
}

.tab:hover {
    background-color: rgba(146, 26, 64, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(146, 26, 64, 0.1);
}

.tab.active {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(146, 26, 64, 0.3);
}

.content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.content.active {
    display: block;
}

.day-content {
    background-color: var(--background);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(146, 26, 64, 0.1);
    margin-bottom: 30px;
    border: 1px solid rgba(146, 26, 64, 0.1);
}

h2 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary);
    font-size: 1.8rem;
}

h3 {
    margin: 25px 0 15px;
    color: var(--primary);
    font-size: 1.4rem;
}

p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.checklist {
    margin: 25px 0;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--secondary);
}

.checklist-item input[type="checkbox"] {
    margin-right: 15px;
    margin-top: 5px;
    transform: scale(1.4);
    cursor: pointer;
    accent-color: var(--primary);
}

.checklist-item label {
    flex: 1;
    cursor: pointer;
    font-size: 1.05rem;
    line-height: 1.6;
}

.checklist-item.completed label {
    text-decoration: line-through;
    color: var(--gray);
}

.tips {
    margin-top: 30px;
    padding: 25px;
    background-color: rgba(244, 217, 208, 0.3);
    border-left: 4px solid var(--primary);
    border-radius: 8px;
}

.tips h4 {
    margin-bottom: 15px;
    color: var(--primary);
    font-size: 1.2rem;
}

.progress-container {
    margin: 40px 0;
    padding: 25px;
    background-color: var(--background);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(146, 26, 64, 0.1);
    border: 1px solid rgba(146, 26, 64, 0.1);
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.progress-header h2 {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.progress-bar {
    height: 16px;
    background-color: var(--secondary);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background-color: var(--primary);
    width: 0%;
    transition: width 0.5s ease;
}

.progress-text {
    text-align: right;
    font-size: 0.95rem;
    color: var(--gray);
    font-weight: 500;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
}

.btn:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(146, 26, 64, 0.3);
}

.btn:active {
    transform: translateY(0);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--primary);
}

.btn-secondary:hover {
    background-color: rgba(146, 26, 64, 0.1);
}

.controls {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.helpful-resources {
    margin-top: 50px;
    padding: 30px;
    background-color: var(--background);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(146, 26, 64, 0.1);
    border: 1px solid rgba(146, 26, 64, 0.1);
}

.resources-list {
    list-style-type: none;
    margin-top: 20px;
}

.resources-list li {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--secondary);
}

.resources-list li:last-child {
    border-bottom: none;
}

.resources-list h4 {
    margin-bottom: 8px;
    color: var(--primary);
    font-size: 1.2rem;
}

.reflection-box {
    margin: 25px 0;
    padding: 20px;
    background-color: rgba(244, 217, 208, 0.2);
    border-radius: 8px;
    border: 1px solid var(--secondary);
}

.reflection-box textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--secondary);
    border-radius: 8px;
    min-height: 120px;
    font-family: inherit;
    resize: vertical;
    font-size: 1rem;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.reflection-box textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(146, 26, 64, 0.2);
}

.saved-indicator {
    display: none;
    color: var(--primary);
    font-size: 0.95rem;
    margin-top: 10px;
    font-weight: 500;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .tabs {
        flex-direction: column;
        gap: 8px;
    }

    .tab {
        flex: none;
        width: 100%;
    }

    .controls {
        flex-direction: column;
        gap: 15px;
    }

    .controls .btn {
        width: 100%;
    }

    header {
        padding: 25px 20px;
    }

    h1 {
        font-size: 2rem;
    }

    .day-content {
        padding: 25px 20px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 15px;
    }

    header {
        padding: 20px 15px;
        margin-bottom: 30px;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    .progress-container,
    .helpful-resources {
        padding: 20px 15px;
    }

    .checklist-item label {
        font-size: 1rem;
    }
}