/* Devotionals and Bible Reading focused enhancements */

.growth-command-center {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin: -34px auto 44px;
    position: relative;
    z-index: 3;
}

.growth-command-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(26, 58, 109, 0.1);
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(13, 42, 77, 0.12);
    padding: 1.15rem;
    display: grid;
    gap: 0.35rem;
}

.growth-command-card span {
    color: #6b7280;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.growth-command-card strong {
    color: #102f5f;
    font-size: clamp(1.25rem, 2vw, 1.8rem);
    line-height: 1.1;
}

.growth-command-card small {
    color: #4b5563;
    line-height: 1.45;
}

.devotional-card,
.reading-card,
.plan-card,
.stat-card,
.resource-item {
    border: 1px solid rgba(26, 58, 109, 0.08);
}

.devotional-card,
.reading-card {
    position: relative;
}

.devotional-card::after,
.reading-card::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.growth-action-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1.25rem;
}

.growth-action-btn {
    border: 1px solid rgba(26, 58, 109, 0.18);
    border-radius: 999px;
    background: #ffffff;
    color: #1a3a6d;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 800;
    padding: 0.72rem 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.growth-action-btn:hover {
    background: #f7fbff;
    box-shadow: 0 10px 24px rgba(13, 42, 77, 0.12);
    transform: translateY(-2px);
}

.growth-action-btn.is-primary {
    background: linear-gradient(135deg, #7bc142, #5ea32d);
    border-color: transparent;
    color: #ffffff;
}

.growth-note-card {
    background: linear-gradient(135deg, rgba(26, 58, 109, 0.06), rgba(123, 193, 66, 0.08));
    border: 1px solid rgba(26, 58, 109, 0.1);
    border-radius: 18px;
    margin-top: 1.4rem;
    padding: 1rem;
}

.growth-note-card label {
    color: #102f5f;
    display: block;
    font-weight: 900;
    margin-bottom: 0.6rem;
}

.growth-note-card textarea {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(26, 58, 109, 0.16);
    border-radius: 14px;
    color: #334155;
    min-height: 110px;
    padding: 0.9rem;
    resize: vertical;
    width: 100%;
}

.growth-note-card textarea:focus {
    border-color: #7bc142;
    box-shadow: 0 0 0 4px rgba(123, 193, 66, 0.16);
    outline: none;
}

.growth-status-pill {
    align-items: center;
    background: rgba(123, 193, 66, 0.12);
    border-radius: 999px;
    color: #326512;
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 800;
    gap: 0.45rem;
    padding: 0.42rem 0.75rem;
}

.reading-passages .passage-item {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.reading-passages .passage-item:hover {
    box-shadow: 0 14px 30px rgba(13, 42, 77, 0.11);
    transform: translateY(-3px);
}

.calendar-day {
    cursor: pointer;
}

.growth-toast {
    background: #102f5f;
    border-radius: 14px;
    bottom: 24px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
    color: #ffffff;
    font-weight: 800;
    left: 50%;
    max-width: min(92vw, 520px);
    opacity: 0;
    padding: 0.9rem 1.15rem;
    position: fixed;
    transform: translate(-50%, 12px);
    transition: opacity 0.24s ease, transform 0.24s ease;
    z-index: 5000;
}

.growth-toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

@media (max-width: 900px) {
    .growth-command-center {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: -18px;
    }
}

@media (max-width: 560px) {
    .growth-command-center {
        grid-template-columns: 1fr;
    }

    .growth-action-bar,
    .devotional-controls {
        align-items: stretch;
        flex-direction: column;
    }

    .growth-action-btn,
    .devotional-controls .btn {
        justify-content: center;
        margin-left: 0 !important;
        width: 100%;
    }
}
