/* Düğme denetimi (dll_iu/Düğme). Bileşenin içindeki style bloğundan taşındı.
   index.html (Windows) ve App.razor (Web) içinde _content/dll_iu/css/dugme.css olarak yüklenir. */



/* --- 1. TEMEL YAPI --- */
.custom-btn {
    background-color: var(--btn-color) !important;
    border: 1.5px solid transparent !important;
    color: #ffffff !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease-in-out !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    white-space: nowrap;
    user-select: none;
}

    .custom-btn i {
        line-height: 0;
        font-size: 1.0em;
        transition: color 0.2s ease-in-out;
    }


/* --- 2. OUTLINE (ÇERÇEVELİ) MODU --- */
.btn-outline {
    background-color: transparent !important;
    border-color: var(--btn-color) !important;
    color: var(--btn-color) !important;
}


/* --- 3. HOVER (ÜZERİNE GELME) EFEKTLERİ --- */
.custom-btn:not(.btn-outline):hover {
    filter: brightness(1.1) !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.btn-outline:hover {
    background-color: var(--btn-color) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

    .btn-outline:hover i {
        color: #ffffff !important;
    }


/* --- 4. TIKLAMA (ACTIVE) DURUMU --- */
.custom-btn:active {
    filter: brightness(0.8) contrast(1.2) !important;
    transform: scale(0.96) !important;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2) !important;
    transition: 0s !important;
}


/* --- 5. BOYUTLANDIRMA --- */
.btn-sm { padding: 4px 10px !important; font-size: 11px !important; height: 28px !important; min-width: 60px; }
.btn-md { padding: 8px 18px !important; font-size: 14px !important; height: 32px !important; min-width: 90px; }
.btn-lg { padding: 12px 28px !important; font-size: 18px !important; height: 52px !important; min-width: 120px; }
