/* MODAL */
.x-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
}

/* MODAL */
.x-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.x-modal.show {
    display: flex;
}

/* BOX */
.x-modal-box {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    min-width: 300px;
}

/* BODY LOCK */
body.x-modal-open {
    overflow: hidden;
}

.x-modal-dialog {
    width: 600px;
    max-width: 95%;
}

.x-modal-box {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    animation: xfadeIn .2s ease;
}

@keyframes xfadeIn {
    from { transform: translateY(-20px); opacity:0; }
    to { transform: translateY(0); opacity:1; }
}

.x-modal-header {
    padding: 15px;
    border-bottom: 1px solid #eee;
    font-weight: bold;
}

.x-modal-body {
    padding: 15px;
}

.x-modal-footer {
    padding: 15px;
    border-top: 1px solid #eee;
    text-align: right;
}

.x-block { display:block; }

/* GRID */
.x-row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-right: -10px;
}

.x-row > * {
    padding-left: 10px;
    padding-right: 10px;
    box-sizing: border-box;
}

/* 12 kolon sistemi */
.x-col-12 { width: 100%; }
.x-col-7  { width: 58.3333%; }
.x-col-5  { width: 41.6667%; }


/* ==============================
   SPACING
============================== */

/* margin-start (left) */
.x-ms-2 {
    margin-left: 0.5rem;
}


/* ==============================
   FLEX & ALIGN
============================== */

.x-d-inline-flex {
    display: inline-flex;
}

.x-align-items-center {
    align-items: center;
}

.x-align-self-center {
    align-self: center;
}


/* ==============================
   TEXT COLORS
============================== */

.x-text-success {
    color: #198754; /* bootstrap success */
}

/* BUTTON */
.x-btn {
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    border: 1px solid transparent;
    font-size: 14px;
}

.x-btn-lg {
    padding: 12px 18px;
    font-size: 16px;
}

.x-btn-primary {
    background: #0d6efd;
    color: #fff;
}

.x-btn-outline {
    background: transparent;
    border: 1px solid #0d6efd;
    color: #0d6efd;
}

/* TABS */
.x-tabs {
    border-bottom: 1px solid #ddd;
    display: flex;
}

.x-tab-btn {
    padding: 10px 15px;
    cursor: pointer;
    border: none;
    background: none;
}

.x-tab-btn.active {
    border-bottom: 2px solid #0d6efd;
    color: #0d6efd;
}

.x-tab-content {
    padding-top: 10px;
}

.x-tab {
    display: none;
}

.x-tab.active {
    display: block;
}

.switch,.switchery {
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
}

.switch {
    margin: 3px 0
}
.switchery {
    border: 1px solid #dfdfdf;
    height: 30px;
    position: relative;
    width: 50px;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box
}

.switchery>small {
    background: #fff;
    border-radius: 100%;
    box-shadow: 0 1px 3px rgba(0,0,0,.4);
    height: 30px;
    position: absolute;
    top: 0;
    width: 30px
}

.mini-switch+.switchery {
    height: 15px;
    width: 30px
}

.mini-switch+.switchery>small {
    height: 15px;
    width: 15px
}
