/* ===== GST Calculator Sidebar Icon ===== */
#gstSidebar {
    position: fixed;
    top: 40%;
    right: 0;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #007bff;
    border-radius: 8px 0 0 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

#gstSidebar button {
    background: #007bff;
    border: none;
    color: #fff;
    padding: 15px;
    cursor: pointer;
    font-size: 22px;
    width: 60px;
    transition: background 0.3s;
}

#gstSidebar button:hover {
    background: #0056b3;
}

/* ===== GST Calculator Widget ===== */
#gstWidget {
    position: fixed;
    top: 20%;
    right: 70px; /* next to sidebar */
    width: 320px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    padding: 20px;
    font-family: 'Arial', sans-serif;
    z-index: 20001;
    display: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

#gstWidget h2 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
    text-align: center;
}

#gstWidget input, #gstWidget select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 14px;
}

#gstWidget button {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    border: none;
    color: #fff;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

#gstWidget button:hover {
    background-color: #0056b3;
}

#gstResult {
    text-align: center;
    margin-top: 15px;
    font-size: 16px;
    color: #333;
}

@media (max-width: 768px) {
    #gstWidget {
        width: 90%;
        right: 5%;
        top: 20%;
    }

    #gstSidebar {
        top: 30%;
    }
}


/* ===== Salary Widget Button ===== */
/*#salaryToggle {*/
/*    position: fixed;*/
/*    right: 15px;*/
/*    bottom: 90px;*/
/*    width: 55px;*/
/*    height: 55px;*/
/*    background: #0d6efd;*/
/*    color: #fff;*/
/*    font-size: 26px;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    border-radius: 50%;*/
/*    cursor: pointer;*/
/*    box-shadow: 0 8px 20px rgba(0,0,0,0.25);*/
/*    z-index: 9999;*/
/*}*/


/* ===== Salary Calculator Widget ===== */
#salaryWidget {
    position: fixed;
    right: 20px;
    bottom: 160px;
    width: 320px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    z-index: 20001;
    display: none;
    overflow: hidden;
    font-family: "Poppins", sans-serif;
}

/* Header */
.salary-header {
    background: linear-gradient(135deg, #0d6efd, #084298);
    color: #fff;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.salary-header button {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}

/* Body */
.salary-body {
    padding: 16px;
}

.salary-body input {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
}

.calc-btn {
    width: 100%;
    padding: 10px;
    background: #0d6efd;
    border: none;
    color: #fff;
    font-size: 15px;
    border-radius: 8px;
    cursor: pointer;
}

.calc-btn:hover {
    background: #084298;
}

/* Result */
#salaryResult {
    margin-top: 14px;
    background: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
}

/* Responsive */
@media(max-width: 480px) {
    #salaryWidget {
        width: 90%;
        right: 5%;
    }
}

.tooltip {
    z-index: 20000 !important;
}
