/* Custom Styles for Appointment Page Sections */

.ast_journal_wrapper {
    background-color: #ffffff;
    /* Keep light theme */
}

.ast_ritual_info .ast_sub_heading {
    letter-spacing: 2px;
    font-size: 14px;
    font-weight: 600;
    color: #ff6f00;
    /* Website main color */
    margin-bottom: 5px;
    text-transform: uppercase;
}

.ast_time_range {
    font-size: 42px;
    margin-bottom: 30px;
}

.ast_timer_ritual {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.ast_timer_item {
    background: #ffffff;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    min-width: 100px;
    border: 1px solid #f0f0f0;
}

.ast_timer_item span {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #333;
}

.ast_timer_item p {
    font-size: 11px;
    color: #999;
    margin: 0;
    letter-spacing: 1px;
}

.ast_checkin_btn {
    background: #ff6f00;
    /* Website main color instead of dark red for consistency */
    color: #fff;
    border: 3px solid #ffcc00;
    border-radius: 50%;
    width: 160px;
    height: 160px;
    font-family: 'Philosopher', sans-serif;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(255, 111, 0, 0.2);
    transition: all 0.3s;
    margin: 0 auto;
    display: block;
}

.ast_checkin_btn:hover {
    transform: scale(1.05);
    background: #e66400;
    box-shadow: 0 0 30px rgba(255, 111, 0, 0.4);
}

.ast_checkin_wrapper p {
    margin-top: 15px;
    font-size: 13px;
    color: #777;
    background: #ede8e84d;
    display: inline-block;
    border-radius: 30px;
    padding: 5px 20px;
}

/* Streak Card */
.ast_streak_card {
    background: #ffffff;
    border: 1px solid #eee;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.ast_streak_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.ast_streak_title h4 {
    margin-bottom: 0px;
}

.ast_streak_title p {
    margin-bottom: 0;
    font-size: 14px;
}

.ast_streak_counter {
    background: #333;
    color: #ffcc00;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
}

.ast_streak_days {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.ast_day_item {
    flex: 1;
    min-width: 80px;
    text-align: center;
}

.ast_day_box {
    height: 90px;
    background: #f4f4f4;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 10px;
    color: #ccc;
    transition: all 0.3s;
    border: 1px solid #eee;
}

.ast_day_item.completed .ast_day_box {
    background: #ffcc00;
    color: #333;
    border-color: #ffcc00;
}

.ast_day_item.current .ast_day_box {
    background: #ff6f00;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    border-color: #ff6f00;
}

.ast_day_item.locked .ast_day_box {
    background: #fafafa;
    border: 1px dashed #ddd;
}

.ast_day_item span {
    font-size: 12px;
    font-weight: 600;
    color: #777;
}

/* Rewards Section */
.ast_rewards_header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
}

.ast_ritual_history a {
    font-size: 14px;
    font-weight: 700;
    color: #ff6f00;
    letter-spacing: 1px;
}

.ast_reward_card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid #f0f0f0;
    margin-bottom: 30px;
}

.ast_reward_card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.ast_reward_card.highlight {
    border: 2px solid #ffcc00;
}

.ast_reward_image {
    padding: 40px;
    background: #fdfdfd;
    text-align: center;
    position: relative;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ast_reward_image img {
    max-height: 180px;
    object-fit: contain;
}

.reward_label {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #eeeeee;
    padding: 4px 12px;
    font-size: 10px;
    font-weight: 700;
    border-radius: 4px;
    color: #555;
    text-transform: uppercase;
}

.reward_label.rare {
    background: #ff6f00;
    color: #fff;
}

.ast_reward_content {
    padding: 25px;
    background: #fff;
    text-align: left;
}

.ast_reward_content h4 {
    margin-bottom: 8px;
    font-size: 20px;
}

.ast_reward_content p {
    font-size: 14px;
    margin-bottom: 20px;
    color: #777;
}

.reward_status {
    height: 5px;
    width: 100%;
    background: #f0f0f0;
    border-radius: 3px;
    position: relative;
}

.reward_status:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    border-radius: 3px;
}

.reward_status.common:after {
    width: 60%;
    background: #ffcc00;
}

.reward_status.rare:after {
    width: 25%;
    background: #ff6f00;
}

/* Preserving Box */
.ast_preserving_box {
    background: #333333;
    /* Dark background as requested by design but neutral dark */
    padding: 80px 40px;
    border-radius: 15px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* Subtle pattern for preserving box */
.ast_preserving_box:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, rgba(255, 111, 0, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

.ast_preserving_box h2 {
    color: #fff;
    margin: 25px 0;
    font-size: 32px;
}

.ast_preserving_box p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 850px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.8;
}

.ast_preserving_content i {
    color: #ff6f00;
    font-size: 30px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .ast_streak_days {
        justify-content: center;
    }

    .ast_day_item {
        flex: none;
        width: 20%;
        margin-bottom: 10px;
    }
}

@media (max-width: 767px) {
    .ast_time_range {
        font-size: 32px;
    }

    .ast_streak_header {
        text-align: center;
        justify-content: center;
    }

    .ast_rewards_header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .ast_ritual_history {
        margin-top: 15px;
    }

    /* Mobile Timer Adjustments */
    .ast_timer_ritual {
        flex-wrap: nowrap;
        /* Force single line */
        gap: 10px;
        /* Smaller gap */
    }

    .ast_timer_item {
        min-width: 60px;
        /* Reduce min-width */
        padding: 10px 5px;
        /* Reduce padding */
        flex: 1;
        /* Allow to shrink/grow */
    }

    .ast_timer_item span {
        font-size: 24px;
        /* Smaller font for numbers */
    }

    .ast_timer_item p {
        font-size: 9px;
        /* Smaller font for labels */
    }
}