﻿/* Override Bootstrap variables */
:root {
    --bs-primary: #1582c7 !important;
    --bs-primary-rgb: 21, 130, 199 !important;
    --bs-success: #79b551 !important;
    --bs-success-rgb: 121, 181, 81 !important;
}

/* Direct color overrides for backgrounds */
.bg-primary {
    background-color: #1582c7 !important;
}

.bg-success {
    background-color: #79b551 !important;
}

/* Text colors */
.text-primary {
    color: #1582c7 !important;
}

.text-success {
    color: #79b551 !important;
}

/* Border colors */
.border-primary {
    border-color: #1582c7 !important;
}

.border-success {
    border-color: #79b551 !important;
}

/* Button styles with higher specificity */
.btn.btn-primary {
    background-color: #1582c7 !important;
    border-color: #1582c7 !important;
}

.btn.btn-primary:hover, 
.btn.btn-primary:focus, 
.btn.btn-primary:active {
    background-color: #1374b3 !important;
    border-color: #1374b3 !important;
}

.btn.btn-outline-primary {
    color: #1582c7 !important;
    border-color: #1582c7 !important;
}

.btn.btn-outline-primary:hover,
.btn.btn-outline-primary:focus,
.btn.btn-outline-primary:active {
    background-color: #1582c7 !important;
    color: #fff !important;
}

.btn.btn-success {
    background-color: #79b551 !important;
    border-color: #79b551 !important;
}

.btn.btn-success:hover,
.btn.btn-success:focus,
.btn.btn-success:active {
    background-color: #6da249 !important;
    border-color: #6da249 !important;
}

.btn.btn-outline-success {
    color: #79b551 !important;
    border-color: #79b551 !important;
}

.btn.btn-outline-success:hover,
.btn.btn-outline-success:focus,
.btn.btn-outline-success:active {
    background-color: #79b551 !important;
    color: #fff !important;
}

/* Gradient backgrounds */
.bg-gradient-primary {
    background: linear-gradient(to bottom, #1582c7, rgba(21, 130, 199, 0.5)) !important;
}

.bg-gradient-success {
    background: linear-gradient(to bottom, #79b551, rgba(121, 181, 81, 0.5)) !important;
}

/* Soft backgrounds */
.bg-soft-primary {
    background-color: rgba(21, 130, 199, 0.18) !important;
    color: #1582c7 !important;
}

.bg-soft-success {
    background-color: rgba(121, 181, 81, 0.18) !important;
    color: #79b551 !important;
}

/* Badge overrides */
.badge.bg-primary {
    background-color: #1582c7 !important;
}

.badge.bg-success {
    background-color: #79b551 !important;
}

/* Alert overrides */
.alert-primary {
    background-color: rgba(21, 130, 199, 0.1) !important;
    border-color: #1582c7 !important;
    color: #1582c7 !important;
}

.alert-success {
    background-color: rgba(121, 181, 81, 0.1) !important;
    border-color: #79b551 !important;
    color: #79b551 !important;
}

.multi-line-cell {
    white-space: normal; /* Hücrede metin kaydırmayı aktif eder */
    word-wrap: break-word; /* Kelimelerin kırılmasını sağlar */
}