﻿/* Isolated bottom block styling */
.rb-bot-navigation-block {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin: 30px 0;
    padding: 15px;
    background-color: #fcfcfc;
    border: 1px solid #e9e9e9;
    border-radius: 6px;
    box-sizing: border-box;
    width: 100%;
    clear: both; /* Prevents layout floating interference */
}

.rb-bot-card {
    flex: 1;
    min-width: 250px;
}

.rb-bot-heading {
    font-size: 16px !important;
    color: #333 !important;
    margin-top: 0 !important;
    margin-bottom: 12px !important;
    border-bottom: 2px solid skyblue;
    padding-bottom: 5px;
    font-weight: bold;
}

.rb-bot-pill-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Isolated Button Styles */
.rb-bot-btn {
    display: block;
    text-align: center;
    padding: 10px 15px;
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: bold;
    border-radius: 4px;
    font-size: 14px;
    transition: opacity 0.2s ease;
}

    .rb-bot-btn:hover {
        opacity: 0.9;
    }

.rb-btn-red {
    background-color: #d9534f !important;
}

.rb-btn-blue {
    background-color: #0275d8 !important;
}

/* Isolated Links List */
.rb-bot-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
}

    .rb-bot-list li {
        padding: 8px 0;
        border-bottom: 1px dashed #e0e0e0;
    }

        .rb-bot-list li:last-child {
            border-bottom: none;
        }

    /* Base Link Layout */
    .rb-bot-list a {
        text-decoration: none !important;
        font-size: 14px;
        display: block;
        font-weight: 600; /* Makes text slightly bolder to stand out cleanly */
        transition: color 0.2s ease;
    }
.rb-btn-green {
    background-color: #27ae60 !important; /* Beautiful Premium Education Green */
}
        .rb-bot-list a:hover {
            text-decoration: underline !important;
            opacity: 0.85;
        }

    /* 🎨 Dynamic Multi-Color Targeting via Nth-Child (Clean & Static) */
    .rb-bot-list li:nth-child(5n+1) a {
        color: #e67e22 !important;
    }
    /* Vibrant Orange */
    .rb-bot-list li:nth-child(5n+2) a {
        color: #27ae60 !important;
    }
    /* Deep Green */
    .rb-bot-list li:nth-child(5n+3) a {
        color: #8e44ad !important;
    }
    /* Rich Purple */
    .rb-bot-list li:nth-child(5n+4) a {
        color: #d35400 !important;
    }
    /* Strong Rust Red */
    .rb-bot-list li:nth-child(5n+5) a {
        color: #2980b9 !important;
    }
/* Bright Ocean Blue */

/* 📱 Smartphone Viewports Adjustment */
@media (max-width: 768px) {
    .rb-bot-navigation-block {
        flex-direction: column; /* Safely stacks vertically on narrow phone screens */
        gap: 15px;
    }

    .rb-bot-card {
        width: 100%;
    }
}
