/* ROSAPP/wwwroot/css/butonlar.css */

/* Projedeki butonlar focus izi göstermesin */
button:focus,
button:focus-visible,
.btn:focus,
.btn:focus-visible,
.xp-close-btn:focus,
.xp-close-btn:focus-visible,
.xp-ok-btn:focus,
.xp-ok-btn:focus-visible,
.rosapp-bottom-btn:focus,
.rosapp-bottom-btn:focus-visible,
.rossapp-radio-btn:focus,
.rossapp-radio-btn:focus-visible,
.btn-check:focus + .btn,
.btn-check:focus-visible + .btn {
    outline: none !important;
    box-shadow: none !important;
}

/* Kapat butonu */
.xp-close-btn {
    width: 52px;
    height: 44px;
    padding: 0;
    margin: 0;
    border: 2px solid #003c74;
    border-radius: 6px;
    background: linear-gradient(to bottom, #ff8a8a 0%, #e24545 55%, #b50000 100%);
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    font-family: Tahoma, Arial, sans-serif;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: inset 2px 2px 0 rgba(255,255,255,0.6);
    cursor: pointer;
    user-select: none;
}

    .xp-close-btn:hover {
        filter: brightness(1.08);
    }

    .xp-close-btn:active {
        box-shadow: inset 2px 2px 4px rgba(0,0,0,0.35) !important;
        transform: scale(0.98);
    }

/* Onay / footer ana butonu */
.xp-ok-btn {
    width: 52px;
    height: 44px;
    padding: 0;
    margin: 0;
    border: 2px solid #0f5132;
    border-radius: 6px;
    background: linear-gradient(to bottom, #8dffb0 0%, #28a745 55%, #087c2c 100%);
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    font-family: Tahoma, Arial, sans-serif;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: inset 2px 2px 0 rgba(255,255,255,0.6);
    cursor: pointer;
    user-select: none;
}

    .xp-ok-btn:hover {
        filter: brightness(1.08);
    }

    .xp-ok-btn:active {
        box-shadow: inset 2px 2px 4px rgba(0,0,0,0.35) !important;
        transform: scale(0.98);
    }

/* Offcanvas body alt işlem butonları */
.rosapp-bottom-btn {
    min-height: 0;
    height: 100%;
    border-radius: 0;
    font-weight: 900;
    color: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .2rem;
    box-shadow: inset 2px 2px 0 rgba(255,255,255,.6);
    user-select: none;
}

    .rosapp-bottom-btn:hover {
        filter: brightness(1.04);
    }

    .rosapp-bottom-btn:active {
        box-shadow: inset 2px 2px 4px rgba(0,0,0,.35) !important;
        transform: scale(.98);
    }

/* Temizle / kaldır / sil standart kırmızı buton */
.rosapp-clear-btn {
    border: 2px solid #842029;
    background: linear-gradient(to bottom, #ffb3b3 0%, #dc3545 55%, #a71d2a 100%);
}

/* Standart mavi alt işlem butonu */
.rosapp-blue-btn {
    border: 2px solid #084298;
    background: linear-gradient(to bottom, #b6d4fe 0%, #0d6efd 55%, #084298 100%);
}

/* Buton içi ikon/yazı */
.rosapp-bottom-btn i {
    line-height: 1;
}

.rosapp-bottom-btn span {
    line-height: 1.1;
}

.rosapp-bottom-btn small {
    font-size: .85rem;
    font-weight: 900;
    line-height: 1.1;
    color: #000;
}


