﻿/* Card vibe modern */
.card {
    background: #fff;
}

/* Buton dashboard: patrat, icon + text, hover elegant */
.btn.btn-calculator {
    /*height: 120px;*/ /* patrat-ish (depinde de padding); poti pune 120 */
    aspect-ratio: 1 / 1;
    width: 100%; /*umple coloana*/
    max-width: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 2px solid #dc3545; /* border roșu */
    border-radius: 18px;
    background: #f8f9fa; /* light */
    color: #212529;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.btn-calculator i {
    font-size: 50px;
}

.btn-calculator span {
    font-weight: 600;
    font-size: 34px !important;
}

/* Hover / focus modern */
.btn-calculator:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
    background: #ffffff;
}

.btn-calculator:focus {
    box-shadow: 0 0 0 .25rem rgba(13,110,253,.20); /* focus ring style bootstrap */
}

.dash-col {
    /*max-width: 120px;*/ /* controlează mărimea coloanei */
    /*flex: 0 0 120px;*/ /* fix 120px lățime */
}

._form.dash-input input {
    border: 0.07px solid brown;
}

._form.dash-input select {
    border: 0.07px solid brown;
}

/*laptop*/
@media (min-width: 1441px) {
    ._table {
        /*border: 0.07px solid brown;*/
        font-size: 16px;
    }
    .btn.btn-actions {
        width: 100px;
        font-size: 14px;
        margin-left: 8px;
        height: 34px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .btn-actions i {
        font-size: 13px;
    }
}

/*ipad*/
@media (max-width: 1024px) {
    ._table {
        /*border: 0.07px solid brown;*/
        font-size: 14px;
    }
    .btn.btn-actions {
        width: 90px;
        font-size: 13px;
        margin-left: 8px;
        height: 29px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .btn-actions i {
        font-size: 12px;
    }
}

.btn.btn-general2 {
    /*aspect-ratio: 3 / 1;*/
    width: 140px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 2px solid #dc3545; /* border roșu */
    border-radius: 9px;
    background: #f8f9fa; /* light */
    color: #212529;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    font-weight: 500;
    font-size: 20px;
    transition: all .2s ease;
}

.btn-general2 i {
    font-size: 50px;
}

.btn-general2 span {
    font-weight: 600;
    font-size: 34px !important;
}

/* Hover / focus modern */
.btn-general2:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
    background: #ffffff;
}

.btn-general2:focus {
    box-shadow: 0 0 0 .25rem rgba(13,110,253,.20); /* focus ring style bootstrap */
}

.clean-table {
    width: 100%;
    border-collapse: collapse;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial;
    font-size: 16px;
    table-layout: fixed;
}

    .clean-table th {
        text-align: left;
        font-weight: 600;
        padding: 1px 10px;
        border: none;
        color: #333;
    }

    .clean-table td {
        padding: 1px 10px;
        border: none;
        max-width: 2000px;
        /*      overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;*/
    }

    .clean-table tr {
        border-bottom: 1px solid #f0f0f0;
    }

        .clean-table tr:last-child {
            border-bottom: none;
        }

        .clean-table tr:hover {
            background-color: #fafafa;
        }

.btn-create {
    background: #000;
    color: #fff;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    transition: all 0.2s ease;
}

    .btn-create:hover {
        background: #333;
        color: #fff;
    }

.btn.btn-general {
    width: 120px;
    margin-bottom: 8px;
    margin-top: 8px;
    margin-left: 8px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-general i {
    font-size: 17px;
}

/*.table td:last-child,
.table th:last-child {
    border: none;
}*/


.col-actions {
    border: none !important;
    background: transparent !important;
    /*width: 120px;*/
}

.table-striped tbody tr:nth-of-type(odd) td.col-actions {
    background: transparent !important;
}

.pulse-wrapper {
    position: relative;
    width: 70px;
    height: 70px;
    margin-top: 20px;
    margin-left: 10px;
}

.pulse-dot {
    width: 70px;
    height: 70px;
    background: rgb(34,197,94);
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.pulse-ring {
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(34,197,94, 0.5);
    animation: ripple 1.5s infinite;
    z-index: 1;
}

    .pulse-ring.delay {
        animation-delay: 0.75s;
    }

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.pulse {
    margin-top:20px;
    margin-left:10px;
    width: 70px;
    height: 70px;
    background: red;
    border-radius: 50%;
    animation: pulse 1s ease infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

