/* Primary */
.bg-primary, .btn-primary {
    background-color: rgb(0,51,102) !important;
}

    .btn-primary:hover {
        background-color: rgb(0,76,153) !important; /* Lighter blue for hover */
    }

    .btn-primary:active {
        background-color: rgb(0,51,102) !important; /* Same as base color */
        box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125) !important; /* Depth effect */
    }

/* Success */
.bg-success, .btn-success {
    background-color: rgb(30, 115, 60) !important; /* Verdant green */
}

    .btn-success:hover {
        background-color: rgb(35, 135, 70) !important; /* Slightly lighter shade for hover */
    }

    .btn-success:active {
        background-color: rgb(25, 100, 50) !important; /* Even darker for active */
        box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.25) !important; /* Strong shadow for depth */
    }

/* Info */
.bg-info, .btn-info {
    background-color: rgb(0, 123, 133) !important; /* Greenish-aqua info color */
}

    .btn-info:hover {
        background-color: rgb(20, 143, 153) !important; /* Lighter shade for hover */
    }

    .btn-info:active {
        background-color: rgb(0, 123, 133) !important; /* Same as base color for active */
        box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.2) !important; /* Shadow for depth */
    }

/* Warning */
.bg-warning, .btn-warning {
    background-color: rgb(255, 215, 0) !important; /* Custom warning color */
}

    .btn-warning:hover {
        background-color: rgb(255, 225, 50) !important; /* Slightly lighter for hover */
    }

    .btn-warning:active {
        background-color: rgb(255, 215, 0) !important; /* Same as base color for active */
        box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125) !important; /* Shadow for depth */
    }

/* Danger */
.bg-danger, .btn-danger {
    background-color: rgb(169, 17, 24) !important; /* Deeper red */
}

    .btn-danger:hover {
        background-color: rgb(189, 37, 44) !important; /* Slightly lighter shade for hover */
    }

    .btn-danger:active {
        background-color: rgb(149, 7, 14) !important; /* Even darker for active */
        box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.25) !important; /* Strong shadow for depth */
    }

/* Dark */
.bg-dark, .btn-dark {
    background-color: rgb(52,58,64) !important; /* Bootstrap default dark gray */
}

    .btn-dark:hover {
        background-color: rgb(73,80,87) !important; /* Lighter gray */
    }

    .btn-dark:active {
        background-color: rgb(52,58,64) !important;
        box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125) !important;
    }

/* Light */
.bg-light, .btn-light {
    background-color: rgb(248,249,250) !important; /* Bootstrap default light */
}

    .btn-light:hover {
        background-color: rgb(232,236,241) !important; /* Lighter shade */
    }

    .btn-light:active {
        background-color: rgb(248,249,250) !important;
        box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125) !important;
    }


:root {
    --bs-link-color: rgb(0,102,204); /* Custom primary link color */
    --bs-link-hover-color: rgb(0,76,153); /* Slightly darker for hover */
    --bs-link-active-color: rgb(0,51,102); /* Darker blue for active/pressed effect */
    --bs-link-decoration: none; /* Optional: removes underline */
}

/* For visited links, since Bootstrap doesn't use a variable */
/*a:visited {
    color: rgb(102,51,153);*/ /* A distinct color for visited links */
/*}*/


