﻿
.viewbutton {
    all: unset;
    position: relative;
 
    margin: 0;
   
    height: 40px;
    line-height: 40px;
    padding: 0 80px 0 30px;
    border-radius: 4px;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    text-align: left;
    display: inline-block;
    box-shadow: 0px 0px 5px rgba(255, 255, 255, 0.1);
    background-color: #3AACED;
    overflow: hidden;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}


    .viewbutton:hover {
        background-color: #2892d7;
        box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.2);
    }


    .viewbutton:after {
        content: '';
        position: absolute;
        width: 50px;
        height: 100%;
        background: rgba(255, 255, 255, 0.2);
        right: 0;
        top: 0;
        transition: width 0.3s ease;
    }


    .viewbutton:hover:after {
        width: 120%;
        background: rgba(255, 255, 255, 0.1);
    }


    .viewbutton i {
        height: 40px;
        line-height: 40px;
        position: absolute;
        right: 0;
        width: 50px;
        border-left: 1px solid rgba(255, 255, 255, 0.21);
        text-align: center;
        top: 0;
        font-size: 16px;
    }


.viewbutton a {
    text-decoration: none !important;
}

.viewbutton > button{
    border:0;
}

/*Danger View Button*/

.dangerviewbutton {
    all: unset;
    position: relative;
    float: right;
    margin: 0;
    height: 40px;
    line-height: 40px;
    padding: 0 80px 0 30px;
    border-radius: 4px;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    text-align: left;
    display: inline-block;
    box-shadow: 0px 0px 5px rgba(255, 0, 0, 0.2);
    background-color: #E74C3C;
    overflow: hidden;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

    .dangerviewbutton:hover {
        background-color: #C0392B;
        box-shadow: 0px 0px 10px rgba(255, 0, 0, 0.4);
    }

    .dangerviewbutton:after {
        content: '';
        position: absolute;
        width: 50px;
        height: 100%;
        background: rgba(255, 255, 255, 0.2);
        right: 0;
        top: 0;
        transition: width 0.3s ease;
    }

    .dangerviewbutton:hover:after {
        width: 120%;
        background: rgba(255, 255, 255, 0.1);
    }

    .dangerviewbutton i {
        height: 40px;
        line-height: 40px;
        position: absolute;
        right: 0;
        width: 50px;
        border-left: 1px solid rgba(255, 255, 255, 0.21);
        text-align: center;
        top: 0;
        font-size: 16px;
    }

    .dangerviewbutton a {
        text-decoration: none !important;
    }

    .dangerviewbutton > button {
        border: 0;
    }

/*Warning View Button*/
.warningviewbutton {
    all: unset;
    position: relative;
    float: right;
    margin: 0;
    height: 40px;
    line-height: 40px;
    padding: 0 80px 0 30px;
    border-radius: 4px;
    color: #212529; 
    font-weight: 600;
    font-size: 14px;
    text-align: left;
    display: inline-block;
    box-shadow: 0px 0px 5px rgba(255, 193, 7, 0.2); 
    background-color: #FFC107; 
    overflow: hidden;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

    .warningviewbutton:hover {
        background-color: #e0a800; 
        box-shadow: 0px 0px 10px rgba(255, 193, 7, 0.4);
    }

    .warningviewbutton:after {
        content: '';
        position: absolute;
        width: 50px;
        height: 100%;
        background: rgba(255, 255, 255, 0.2);
        right: 0;
        top: 0;
        transition: width 0.3s ease;
    }

    .warningviewbutton:hover:after {
        width: 120%;
        background: rgba(255, 255, 255, 0.1);
    }

    .warningviewbutton i {
        height: 40px;
        line-height: 40px;
        position: absolute;
        right: 0;
        width: 50px;
        border-left: 1px solid rgba(255, 255, 255, 0.21);
        text-align: center;
        top: 0;
        font-size: 16px;
        color: #212529;
    }

    .warningviewbutton a {
        text-decoration: none !important;
        color: inherit;
    }

    .warningviewbutton > button {
        border: 0;
        background: none;
        color: inherit;
    }

/*Success View Button*/
.successviewbutton {
    all: unset;
    position: relative;
    float: right;
    margin: 0;
    height: 40px;
    line-height: 40px;
    padding: 0 80px 0 30px;
    border-radius: 4px;
    color: #fff; 
    font-weight: 600;
    font-size: 14px;
    text-align: left;
    display: inline-block;
    box-shadow: 0px 0px 5px rgba(25, 135, 84, 0.2); 
    background-color: #25D366; 
    overflow: hidden;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

    .successviewbutton:hover {
        background-color: #157347; 
        box-shadow: 0px 0px 10px rgba(25, 135, 84, 0.4);
    }

    .successviewbutton:after {
        content: '';
        position: absolute;
        width: 50px;
        height: 100%;
        background: rgba(255, 255, 255, 0.2);
        right: 0;
        top: 0;
        transition: width 0.3s ease;
    }

    .successviewbutton:hover:after {
        width: 120%;
        background: rgba(255, 255, 255, 0.1);
    }

    .successviewbutton i {
        height: 40px;
        line-height: 40px;
        position: absolute;
        right: 0;
        width: 50px;
        border-left: 1px solid rgba(255, 255, 255, 0.21);
        text-align: center;
        top: 0;
        font-size: 16px;
        color: #fff;
    }

    .successviewbutton a {
        text-decoration: none !important;
        color: inherit;
    }

    .successviewbutton > button {
        border: 0;
        background: none;
        color: inherit;
    }




/*FC Button*/
.fc-button {
    all: unset;
    width: 50px;
    height: 50px;
    float: left;
    position: relative;
    line-height: 50px;
    background: #fff4f4;
    cursor: pointer;
    border-radius: 4px;
    margin-bottom: 4px;
    display: inline-flex;
    align-items: center;
}
    .fc-button > :hover {
        background-color: #fff;
        color: var(--bs-warning);
    }


    .fc-button span {
        position: absolute;
        right: 100%;
        margin-left: 12px;
        background: #18458B;
        opacity: 0;
        visibility: hidden;
        top: 8px;
        color: #fff !important;
        width: 120px;
        height: auto !important;
        line-height: 1;
        font-size: 12px;
        padding: 12px 0;
        border-radius: 22px;
        text-align: center;
    }

    .fc-button:hover span {
        opacity: 1;
        visibility: visible;
        background-color: #fff;
    }

.fc-button {
    margin-right: 5px;
}

   

    .fc-button i {
        margin: auto;
        font-size: 15px !important;
        color:var(--bbb-secondary);
    }
    .fc-button i:hover {
        margin: auto;
        font-size: 15px !important;
       
    }
a.fc-button {
    text-decoration: none !important;
    color: #000 !important;
}

/*FC Button SM*/
.fc-button-sm {
    all: unset;
    width: 30px;
    height: 30px;
    float: left;
    position: relative;
    line-height: 50px;
    background: #fff;
    cursor: pointer;
    border: 0.2px solid;
    border-color: #F0F1F3;
    margin-bottom: 4px;
    display: inline-flex;
    align-items: center;
}
    .fc-button-sm:hover {
        background-color: #F0F1F3;
        color: var(--bs-warning);
    }
    .fc-button-sm span {
        position: absolute;
        right: 100%;
        margin-left: 12px;
        background: #18458B;
        opacity: 0;
        visibility: visible;
        top: 8px;
        color: #fff !important;
        width: 120px;
        height: auto !important;
        line-height: 1;
        font-size: 12px;
        padding: 12px 0;
        border-radius: 22px;
        text-align: center;
    }

    .fc-button-sm:hover span {
        opacity: 1;
        visibility: visible;
        
    }

    .fc-button-sm i {
        margin: auto;
        font-size: 15px !important;
        color:var(--bbb-secondary)
    }

.fc-button-sm i:hover {
    margin: auto;
    font-size: 15px !important;
    
}

a.fc-button-sm {
    text-decoration: none !important;
    color: #000 !important;
}


/*BBB Button*/
.bbb-button {
    all: unset;
    position: relative;
    margin: 0;
    height: 40px;
    line-height: 40px;
    padding: 0 30px;
    border-radius: 4px;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    text-align: center; 
    display: inline-flex; 
    align-items: center; 
    justify-content: center;
    box-shadow: 0px 0px 5px rgba(255, 255, 255, 0.1);
    background-color: #3AACED;
    overflow: hidden;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}


    .bbb-button:hover {
        background-color: #2892d7;
        box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.2);
    }



    .bbb-button:hover:after {
        width: 120%;
        background: rgba(255, 255, 255, 0.1);
    }

/*    Copy Button*/
.copy-icon-btn {
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    background: none !important;
    border: none;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s;
    padding: 2px 5px;
    border-radius: 3px;
}

    .copy-icon-btn:hover {
        opacity: 1;
        background: rgba(0, 0, 0, 0.05);
    }

.reference-container:hover .copy-icon-btn {
    opacity: 0.7;
}