﻿.red-badge {
    background: linear-gradient(135deg, #dc2626, #f97316);
    color: white;
}

.purple-badge {
    background: linear-gradient(135deg, #8b5cf6, #c084fc);
    color: white;
}

.green-badge {
    background: linear-gradient(135deg, #059669, /* green */
    #0f766e, /* teal */
    #0ea5e9 /* blue accent */
    );
    color:white;
}

.blue-badge {
    background: linear-gradient(135deg, #0ea5e9, #6366f1);
    color:white;
}


/*Purple table button*/
.purple-table-button {
    border-radius: 0.35rem;
    border: none;
    background: linear-gradient(135deg, #0ea5e9, #6366f1);
    color: #f9fafb;
    font-size: 0.9rem;
    padding: 0.25rem 1.2rem;
    box-shadow: 0 3px 8px rgba(37, 99, 235, 0.45);
    display: flex;
    justify-content:center;
    align-content: center;
    align-items: center;
    text-align: center;
    margin-bottom:5px;
}

    .purple-table-button:hover {
        background: linear-gradient(135deg, #2563eb, #4338ca);
    }

.purple-table-button i {
    font-size: 0.9rem;
}

/*Red table button*/
.red-table-button {
    border-radius: 0.35rem;
    font-size: 0.9rem;
    padding: 0.25rem 1.2rem;
    background: linear-gradient(135deg, #dc2626, #f97316);
    border: none;
    box-shadow: 0 3px 8px rgba(127, 29, 29, 0.45);
    display: flex;
    justify-content:center;
    align-content: center;
    align-items: center;
    text-align: center;
    margin-bottom:10px;
}

    .red-table-button:hover {
        background: linear-gradient(135deg, #b91c1c, #ea580c);
    }

.red-table-button i {
    font-size: 0.9rem;
}

/*Green table button*/
.green-table-button {
    border-radius: 0.35rem;
    font-size: 0.9rem;
    padding: 0.25rem 1.2rem;
    background: linear-gradient(135deg, #059669, /* green */
    #0f766e, /* teal */
    #0ea5e9 /* blue accent */
    );
    color: #f9fafb;
    border: none;
    box-shadow: 0 3px 8px rgba(5, 150, 105, 0.45);
    display: flex;
    justify-content:center;
    align-content: center;
    align-items: center;
    text-align: center;
    margin-bottom:5px;
}

    .green-table-button:hover {
        background: linear-gradient(135deg, #10b981, #0f766e, #0284c7 );
        box-shadow: 0 10px 24px rgba(15, 118, 110, 0.6);
        color: #f9fafb;
    }
.green-table-button i {
    font-size: 0.9rem;
}

/*White table button*/
.white-table-button {
    border-radius: 0.35rem;
    font-size: 0.9rem;
    padding: 0.25rem 1.2rem;
    border: 1px solid #a7f3d0; /* mint border */
    background: #f9fafb;
    color: #047857; /* green */
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.18);
    display: flex;
    justify-content:center;
    align-content: center;
    align-items: center;
    text-align: center;
    margin-bottom:5px;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}

    .white-table-button:hover {
        background: linear-gradient(135deg, #10b981, #0f766e);
        border-color: #0f766e;
        color: #ecfdf5;
        box-shadow: 0 3px 10px rgba(5, 150, 105, 0.55);
    }
    .white-table-button i {
        font-size: 0.9rem;
    }

.green-gradient-btn {
    /* override Bootstrap secondary */
    border: none;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, #059669, /* green */
    #0f766e, /* teal */
    #0ea5e9 /* blue accent */
    );
    color: #f9fafb;
    font-size: 0.9rem;
    padding: 0.45rem 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    box-shadow: 0 8px 18px rgba(15, 118, 110, 0.45);
    text-shadow: 0 1px 2px rgba(15, 23, 42, 0.4);
    width:fit-content;
}

    /* Icon a tiny bit larger & bright */
    .green-gradient-btn i {
        font-size: 1rem;
        color: #bbf7d0;
    }

    /* Hover / active */
    .green-gradient-btn:hover {
        background: linear-gradient(135deg, #10b981, #0f766e, #0284c7 );
        box-shadow: 0 10px 24px rgba(15, 118, 110, 0.6);
        color: #f9fafb;
    }

    /* Focus ring */
    .green-gradient-btn:focus,
    .green-gradient-btn:focus-visible {
        outline: none;
        box-shadow: 0 0 0 2px #ecfdf5, 0 0 0 4px rgba(45, 212, 191, 0.7);
    }



.red-gradient-btn {
    border-radius: 0.35rem;
    font-size: 0.9rem;
    padding: 0.25rem 1.2rem!important;
    background: linear-gradient(135deg, #dc2626, #f97316);
    border: none;
    box-shadow: 0 3px 8px rgba(127, 29, 29, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    height:50px;
}

    .red-gradient-btn:hover {
        background: linear-gradient(135deg, #b91c1c, #ea580c);
        /*transform: translateY(-2px);*/
        box-shadow: 0 6px 14px rgba(127, 29, 29, 0.55);
        color:white;
    }

    .red-gradient-btn:active {
        transform: translateY(1px);
        box-shadow: 0 2px 5px rgba(127, 29, 29, 0.35);
    }

    .red-gradient-btn:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.25), 0 6px 14px rgba(127, 29, 29, 0.55);
    }

    .red-gradient-btn:disabled {
        opacity: 0.6;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }


.blue-gradient-btn {
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    border-radius: 0.35rem;
    border: none;
    background: linear-gradient(135deg, #0ea5e9, #6366f1);
    /*color: #f9fafb;*/
    color:white;
    font-size: 0.9rem;
    padding: 0.25rem 1.2rem !important;
    box-shadow: 0 3px 8px rgba(37, 99, 235, 0.45);
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    height: 50px;
}

    .blue-gradient-btn:hover {
        background: linear-gradient(135deg, #2563eb, #4338ca);
        /*transform: translateY(-2px);*/
        box-shadow: 0 6px 14px rgba(37, 99, 235, 0.55);
        color:white;
    }

    .blue-gradient-btn:active {
        transform: translateY(1px);
        box-shadow: 0 2px 5px rgba(37, 99, 235, 0.35);
    }

    .blue-gradient-btn:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25), 0 6px 14px rgba(37, 99, 235, 0.55);
    }

    .blue-gradient-btn:disabled {
        opacity: 0.6;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

    .blue-gradient-btn i {
        font-size: 1.3rem;
        /*margin-right: 0.35rem;*/
    }

    .blue-gradient-btn:hover i {
        /*transform: scale(1.05);*/
    }

    .blue-gradient-btn i {
        transition: transform 0.2s ease;
    }



.purple-gradient-btn {
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    border-radius: 0.35rem;
    border: none;
    background: linear-gradient(135deg, #8b5cf6, #c084fc);
    /*color: #f9fafb;*/
    color:white;
    font-size: 0.9rem;
    padding: 0.25rem 1.2rem !important;
    box-shadow: 0 3px 8px rgba(139, 92, 246, 0.45);
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    height: 50px;
}

    .purple-gradient-btn:hover {
        background: linear-gradient(135deg, #7c3aed, #a855f7);
        color: #ffffff;
        /*transform: translateY(-2px);*/
        box-shadow: 0 6px 14px rgba(139, 92, 246, 0.55);
    }

    .purple-gradient-btn:focus,
    .purple-gradient-btn:focus-visible {
        outline: none;
        color: #ffffff;
        box-shadow: 0 0 0 0.25rem rgba(168, 85, 247, 0.35), 0 6px 14px rgba(139, 92, 246, 0.45);
    }

    .purple-gradient-btn:active {
        background: linear-gradient(135deg, #6d28d9, #9333ea);
        transform: translateY(1px);
        box-shadow: 0 2px 6px rgba(139, 92, 246, 0.35);
    }

    .purple-gradient-btn:disabled,
    .purple-gradient-btn.disabled {
        opacity: 0.65;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

    .purple-gradient-btn i {
        font-size: 1.3rem;
        margin-right: 0.35rem;
        transition: transform 0.2s ease;
    }

.dt-buttons {
    padding-top: 10px;
}