﻿/* Side Buttons Style for All pages */

.floating-buttons {
    position: fixed;
    top: 35%;
    right: 1%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

    .floating-buttons .btn-container {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .floating-buttons .btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 35px; /* Adjust width for icon size */
        height: 35px; /* Adjust height for icon size */
        padding: 10px;
        border-radius: 50%;
        color: white;
        text-decoration: none;
        font-size: 20px; /* Icon size */
        position: relative;
        overflow: hidden;
        transition: all 0.3s ease;
    }


    .floating-buttons .btn-danger {
        background-color: var(--primary);
        color: white;
        border-color: var(--primary);
    }

        .floating-buttons .btn-danger:hover {
            background-color: #dc3545;
            color: white;
            border-color: #dc3545;
        }


    .floating-buttons .btn-success {
        background-color: var(--primary);
        color: white;
        border-color: var(--primary);
        transition: background-color 0.3s, color 0.3s, border-color 0.3s; /* Smooth transition effect */
    }

        .floating-buttons .btn-success:hover {
            background-color: #28a745;
            color: white;
            border-color: #28a745;
        }

    .floating-buttons .btn-primary {
        background-color: var(--primary);
        color: white;
        border-color: var(--primary);
        transition: background-color 0.3s, color 0.3s, border-color 0.3s; /* Smooth transition effect */
    }

        .floating-buttons .btn-primary:hover {
            background-color: #007bff;
            color: white;
            border-color: #007bff;
        }

    .floating-buttons .btn i {
        font-size: 18px; /* Icon size */
    }

    .floating-buttons .btn-text {
        display: none; /* Initially hide the text */
        position: absolute;
        bottom: -30px; /* Position below the icon */
        width: 100%;
        text-align: center;
        font-size: 14px;
        padding: 5px;
        background-color: rgba(0, 0, 0, 0.7); /* Dark background */
        color: white;
        border-radius: 5px;
        opacity: 0;
        transition: opacity 0.3s ease, bottom 0.3s ease;
    }
