/* CSS Custom Styles */

/* Genel stiller */
body {
    background-color: #f4f6f9;
}

/* Content wrapper background */
.content-wrapper {
    background-color: #f4f6f9;
}

/* Active menü öğesi */
.nav-sidebar .nav-item .nav-link.active {
    background-color: #007bff !important;
    color: #fff !important;
}

/* Card stilini iyileştirme */
.card {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: none;
    margin-bottom: 20px;
}

.card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.card-header {
    border-radius: 8px 8px 0 0 !important;
    padding: 12px 20px;
    font-weight: 500;
}

.card-header h3.card-title {
    margin-bottom: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.card-body {
    padding: 20px;
}

/* Ana içerik padding */
.content-header, .content {
    padding: 15px 1.5rem;
}

/* InfoBox stilini iyileştirme */
.info-box {
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.info-box-icon {
    border-radius: 0.5rem 0 0 0.5rem;
}

/* Tablo stillerini geliştirme */
.table thead th {
    border-bottom-width: 1px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    padding: 0.75rem;
    vertical-align: middle;
    border-bottom: 2px solid #dee2e6;
}

.table td {
    vertical-align: middle;
    padding: 0.75rem;
}

/* Badge stilini geliştirme */
.badge {
    font-weight: 500;
    padding: 0.4em 0.6em;
    font-size: 80%;
    border-radius: 4px;
}

/* Title badge styles */
.title-badge {
    display: inline-block;
    padding: 3px 8px;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 4px;
    margin-left: 8px;
    text-transform: uppercase;
    vertical-align: middle;
}

.title-badge.text-white {
    color: #fff !important;
}

.title-csb {
    background-color: #0277bd;
    color: #e1f5fe;
}

.title-brk {
    background-color: #e65100;
    color: #ffe0b2;
}

.title-genel {
    background-color: #303f9f;
    color: #e8eaf6;
}

.title-acil {
    background-color: #c62828;
    color: #ffebee;
}

.title-duyuru {
    background-color: #558b2f;
    color: #f1f8e9;
}

/* Kart başlıkları için renk güncellemeleri */
.card-header.bg-info {
    background-color: #29b6f6 !important;
}

.card-header.bg-primary {
    background-color: #1976d2 !important;
}

.card-header.bg-secondary {
    background-color: #607d8b !important;
}

.card-header.bg-success {
    background-color: #43a047 !important;
}

.card-header.bg-warning {
    background-color: #ffa000 !important;
}

.card-header.bg-danger {
    background-color: #e53935 !important;
}

/* Buton stillerini geliştirme */
.btn {
    border-radius: 4px;
    padding: 8px 16px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.btn-primary {
    background-color: #1976d2;
    border-color: #1976d2;
}

.btn-primary:hover {
    background-color: #1565c0;
    border-color: #1565c0;
}

/* Form elemanlarını geliştirme */
.form-control {
    border-radius: 4px;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    border-color: #4dabf7;
    box-shadow: 0 0 0 0.2rem rgba(77, 171, 247, 0.25);
}

/* Navbar stilini geliştirme */
.main-header {
    border-bottom: 1px solid #dee2e6;
}

/* Dark mode desteği */
[data-theme="dark"] .main-header {
    background-color: #343a40 !important;
    color: #fff !important;
}

[data-theme="dark"] .main-header .navbar-nav .nav-link {
    color: #f8f9fa !important;
}

[data-theme="dark"] .card {
    background-color: #343a40 !important;
}

/* Dark mode kart başlıkları */
[data-theme="dark"] .card-header.bg-info {
    background-color: #0288d1 !important;
}

[data-theme="dark"] .card-header.bg-secondary {
    background-color: #455a64 !important;
}

[data-theme="dark"] .card-header.bg-primary {
    background-color: #0d47a1 !important;
}

[data-theme="dark"] .card-header.bg-success {
    background-color: #2e7d32 !important;
}

[data-theme="dark"] .card-header.bg-warning {
    background-color: #ff8f00 !important;
    color: #212121 !important;
}

[data-theme="dark"] .card-header.bg-danger {
    background-color: #c62828 !important;
}

/* Dark mode title badge */
[data-theme="dark"] .title-csb {
    background-color: #039be5;
    color: #ffffff;
}

[data-theme="dark"] .title-brk {
    background-color: #ef6c00;
    color: #ffffff;
}

[data-theme="dark"] .title-genel {
    background-color: #3949ab;
    color: #ffffff;
}

[data-theme="dark"] .title-acil {
    background-color: #d32f2f;
    color: #ffffff;
}

[data-theme="dark"] .title-duyuru {
    background-color: #689f38;
    color: #ffffff;
}

/* SMS gönder kart içerik stilleri */
.card-body.sms-info {
    background-color: #e1f5fe;
}

.card-body.sms-faq {
    background-color: #f5f5f5;
}

/* Karanlık mod için içerik arka planları */
[data-theme="dark"] .card-body.sms-info {
    background-color: #01579b30;
}

[data-theme="dark"] .card-body.sms-faq {
    background-color: #455a6430;
}

/* SMS Kartları Stilleri */
.sms-info {
    background-color: #e1f5fe;
    border-radius: 0 0 8px 8px;
}

.sms-faq {
    background-color: #f5f5f5;
    border-radius: 0 0 8px 8px;
}

/* Karanlık mod SMS kartları */
[data-theme="dark"] .sms-info {
    background-color: #1a3a4a;
    color: #e1f5fe;
}

[data-theme="dark"] .sms-faq {
    background-color: #2d2d2d;
    color: #f5f5f5;
}

/* SMS formları için iyileştirmeler */
.sms-form-group {
    margin-bottom: 1.5rem;
}

.sms-form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.char-counter {
    position: absolute;
    right: 10px;
    bottom: 10px;
    background-color: rgba(0,0,0,0.1);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
}

[data-theme="dark"] .char-counter {
    background-color: rgba(255,255,255,0.2);
    color: #fff;
}

/* Telefon numarası kontrol alanı */
.phone-status {
    margin-top: 5px;
    font-size: 13px;
}

.phone-status.valid {
    color: var(--success-color);
}

.phone-status.invalid {
    color: var(--danger-color);
}

[data-theme="dark"] .phone-status.valid {
    color: #4caf50;
}

[data-theme="dark"] .phone-status.invalid {
    color: #f44336;
}

/* Uyarı metnini vurgula */
.sms-warning {
    font-size: 14px;
    padding: 10px;
    border-left: 4px solid #ff9800;
    background-color: rgba(255, 152, 0, 0.1);
    margin: 10px 0;
}

[data-theme="dark"] .sms-warning {
    background-color: rgba(255, 152, 0, 0.2);
    border-left: 4px solid #ffb74d;
}

/* Dosya yükleme alanı */
.custom-file-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.custom-file-label::after {
    content: "Gözat";
} 