﻿:root {
    --primary-color: #0D6EFD;
    --secondary-color: #00B5EF;
    --bg-primary: #C2ECFC;
}
link[rel="icon"] {
    border-radius: 50% !important;
}
a{
    text-decoration:none !important;
}
thead th {
    background-color: var(--secondary-color) !important;
    color: white !important;
    margin-top: 0.5rem !important;
}

.tbutton, .tdbutton {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    border: none;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.tbutton {
    color: #00b5ef;
    border: 2px solid #00b5ef;
}

    .tbutton:hover {
        background: #00b5ef;
        color: white;
        /*box-shadow: 0px 0px 12px #00b5ef;*/
    }

.tdbutton {
    color: #dc3545;
    border: 2px solid #dc3545;
}

    .tdbutton:hover {
        background: #dc3545;
        color: white;
        box-shadow: 0px 0px 12px #dc3545;
    }

    /* Add subtle button press effect */
    .tbutton:active, .tdbutton:active {
        transform: scale(0.95);
    }

.btn-add {
    background: linear-gradient(135deg, #0D6EFD 30%, #00B5EF 100%);
    color: white;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
}

    .btn-add::before {
        content: "";
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
        transform: scale(0);
        transition: transform 0.3s ease-in-out;
    }

    .btn-add:hover {
        border-color: rgba(255, 255, 255, 0.6);
        box-shadow: 0px 6px 12px rgba(0, 181, 239, 0.2);
    }

        .btn-add:hover::before {
            transform: scale(1);
        }


.title-heading {
    font-size: 1.8rem;
    font-weight: 600;
    font-family: "poppins", Arial, sans-serif; /* Updated Font */
    color: var(--primary-color);
    text-align: start;
    position: relative;
    padding-bottom: 8px; /* Space for underline */
    display: inline-block;
}

    /* Centered Small Underline */
    .title-heading::after {
        content: "";
        width: 35%; /* Small underline */
        height: 3px;
        background-color: var(--primary-color);
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 2px;
    }

/* Title Styling */
.full-title {
    display: block;
}

.short-title {
    display: none;
}



/* Center title on medium and larger screens */
@media (min-width: 768px) {
    .title-heading {
        text-align: center;
        font-size: 2rem;
    }
}

/* Adjust for very small screens */
@media (max-width: 480px) {
    .full-title {
        display: none;
    }

    .short-title {
        display: block;
    }
    .title-heading {
        font-size: 1.5rem;
        font-family: "Poppins", Arial, sans-serif; /* Ensure consistency on small screens */

    }

        /* Remove underline for small screens */
        .title-heading::after {
            width: 45%;
        }
}
.dashboard-box {
    width: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.dashboard-img {
    width: 100%;
    aspect-ratio: 1 / 1; /* Ensures a square aspect ratio */
    object-fit: cover; /* Scales image to cover the area, cropping if necessary */
    border-radius: 10px;
    transition: box-shadow 0.3s ease-in-out;
    box-shadow: rgba(6, 24, 44, 0.4) 0px 0px 0px 2px, rgba(6, 24, 44, 0.65) 0px 4px 6px -1px, rgba(255, 255, 255, 0.08) 0px 1px 0px inset;
}

    .dashboard-img:hover {
        cursor: pointer;
        animation: bounce 0.4s ease-in-out;
    }

@keyframes bounce {
    0% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-5px);
    }
    /* Move slightly up */
    50% {
        transform: translateY(0);
    }

    70% {
        transform: translateY(-3px);
    }
    /* A smaller bounce */
    100% {
        transform: translateY(0);
    }
}


.logout-btn {
    background: linear-gradient(135deg, #ff4b5c, #ff6b81); /* Modern Red Gradient */
    color: white;
    font-weight: bold;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px; /* Space between icon and text */
    transition: all 0.3s ease-in-out;
    /*box-shadow: 0px 4px 6px rgba(255, 75, 92, 0.3);*/
}

    /* Icon Style */
    .logout-btn i {
        font-size: 1.1rem;
    }

    /* Hover Effect */
    .logout-btn:hover {
        background: linear-gradient(135deg, #e63950, #ff4757);
        box-shadow: 0px 6px 10px rgba(230, 57, 80, 0.5);
        transform: translateY(-2px);
    }

    /* Click Effect */
    .logout-btn:active {
        background: #d63041;
        box-shadow: inset 0px 3px 6px rgba(0, 0, 0, 0.3);
        transform: scale(0.98);
    }
    /* Back Button Styling */
        .back-btn {
            background: #00b5ef;
            color: white;
            border: none;
            padding: 12px;
            border-radius: 50%;
            font-size: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 45px;
            height: 45px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease-in-out;
            cursor: pointer;
            text-decoration: none;
        }

            .back-btn:hover {
                background: #0297c2;
                box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
                transform: scale(1.1);
            }


/* Hide back button on small screens */
@media (max-width: 768px) {
    .back-btn {
        display: none;
    }
}


.dropdown-menu {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: none;
    padding: 0.5rem 0;
    min-width: 180px;
    background: linear-gradient(to bottom right, var(--secondary-color), var(--primary-color));
}

    /* User Info Section */
    .dropdown-menu .d-md-none {
        padding: 0.5rem 1rem;
        background: var(--bg-primary);
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
        color: var(--primary-color);
    }

        .dropdown-menu .d-md-none strong {
            font-size: 0.9rem;
        }

        .dropdown-menu .d-md-none small {
            font-size: 0.75rem;
        }

/* Dropdown Items */
.dropdown-item {
    padding: 0.5rem 1rem;
    color: white;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    cursor: pointer;
    
}

    .dropdown-item i {
        font-size: 0.9rem;
    }

    .dropdown-item:hover {
        background: var(--bg-primary);
        border-radius: 6px;
    }

    /* Logout Button */
    .dropdown-item.text-danger {
        color: #ff4d4d;
    }

        .dropdown-item.text-danger:hover {
            background: rgba(255, 77, 77, 0.2);
        }

/* Divider */
.dropdown-menu hr {
    margin: 0.4rem 0;
    border-color: rgba(255, 255, 255, 0.3);
}


.dropdown-menu:hover {
    cursor: pointer !important;
}
/* Ensure the dropdown toggle is clickable */
.dropdown-toggle {
    cursor: pointer;
}

/* Ensure dropdown items are clickable */
.dropdown-item {
    cursor: pointer;
}
.amount-container {
    /*background-color: #ffffff;*/
    padding: 20px 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}


.amount-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

    .amount-title::before,
    .amount-title::after {
        content: '';
        width: 30px;
        height: 2px;
        background-color: var(--primary-color);
    }

#totalAmt {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.currency {
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .amount-container {
        padding: 15px 25px;
    }

    .amount-title {
        font-size: 1.2rem;
    }

    #totalAmt {
        font-size: 1.5rem;
    }
}