﻿.dx-htmleditor-content img {
    vertical-align: middle;
    padding-right: 10px;
}

.dx-htmleditor-content table {
    width: 50%;
}

.options {
    padding: 20px;
    background-color: rgba(191, 191, 191, 0.15);
    margin-top: 20px;
}

.caption {
    font-size: 18px;
    font-weight: 500;
}

.option {
    margin-top: 10px;
    display: inline-block;
    margin-right: 40px;
}

    .option > .dx-selectbox,
    .option > .label {
        display: inline-block;
        vertical-align: middle;
    }

    .option > .label {
        margin-right: 10px;
    }
/*<style >*/
body {
    padding: 20px;
    background-color: #f5f5f5;
}

.login-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.title {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.button-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.custom-button {
    height: 200px !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

.button-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.button-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.button-text {
    font-size: 18px;
    font-weight: bold;
}

.button-description {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
    text-align: center;
}

@media (max-width: 768px) {
    .button-grid {
        grid-template-columns: 1fr;
    }
}

:root {
    --dx-color-primary: #1976d2 !important;
    --dx-color-link: #1976d2 !important;
}

/* Login ekranında DevExtreme input focus rengini yeşil yap */
.dx-texteditor.dx-state-focused .dx-texteditor-input-container {
    border-color: #28a745 !important; /* Bootstrap'in success yeşili */
    box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.25) !important;
}

/* Validation hatası mesajlarının altındaki çizgiler için yeşil */
.dx-invalid.dx-texteditor .dx-texteditor-input-container {
    border-color: #28a745 !important;
}

/* Checkbox, radio, select ve button focus için de yeşil */
.dx-state-focused .dx-checkbox-icon,
.dx-state-focused .dx-radiobutton-icon,
.dx-state-focused .dx-dropdowneditor-icon,
.dx-state-focused.dx-button {
    border-color: #28a745 !important;
    color: #28a745 !important;
}

.sticky-note-container {
    /* Sayfanın en üstüne sabitle */
    position: sticky;
    top: 0;
    /* Üst menü barı varsa, ona göre ayarlayın (Örn: top: 60px) */
    z-index: 100; /* Diğer içeriklerin üstünde kalmasını sağlar */
    background-color: white; /* Kaydırma yapıldığında arkasının görünmemesi için */
    padding: 10px 0; /* Üstte ve altta biraz boşluk bırakır */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Hafif bir gölge ekler */
}


/* --- FIXED ACTIONS YAPISI (Global Tanım) --- */
.fixed-actions {
    position: fixed !important; /* SABİTLEME GARANTİSİ */
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background-color: white !important;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1) !important;
    padding: 15px 0 !important;
    z-index: 1000 !important;
}

    /* --- DEVEXTREME BUTON VE CHECKBOX DÜZENİ --- */

    /* Checkbox bloğu ile butonlar arasına dikey boşluk */
    .fixed-actions .mb-4 {
        margin-bottom: 25px !important;
    }

    /* Butonları çevreleyen flex container'ı kontrol eder */
    .fixed-actions .justify-content-center {
        align-items: center;
    }

    /* Reddet butonu için yatay boşluk (Bootstrap ms-3'e ek olarak/destekleyici) */
    /* Eğer HTML'de .ms-3 kullanılıyorsa, bu stil .ms-3 sınıfına uygulanacaktır */
    .fixed-actions .dx-button.ms-3 {
        margin-left: 15px !important;
    }