/* Custom CSS */
body {
    background-color: #ffffff;
    color: #212529;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.navbar-dark {
    background-color: #4e73df !important;
}

.container, .container-fluid {
    padding-top: 20px;
}

.card {
    background-color: #ffffff;
    border-color: #e3e6f0;
    margin-bottom: 20px;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
}

.card-header {
    background-color: #f8f9fc;
    border-bottom-color: #e3e6f0;
}

.list-group-item {
    background-color: #ffffff;
    border-color: #e3e6f0;
    color: #212529;
}

.table {
    color: #212529;
}

.table td, .table th {
    border-color: #e3e6f0;
}

.btn-primary {
    background-color: #4e73df;
    border-color: #4668c7;
}

.btn-primary:hover {
    background-color: #4e73df !important;
    border-color: #4668c7 !important;
}

.btn-success {
    background-color: #1cc88a;
    border-color: #18a87a;
}

.btn-success:hover {
    background-color: #1cc88a !important;
    border-color: #18a87a !important;
}

.form-control, .input-group-text {
    background-color: #ffffff !important;
    border-color: #d1d3e2 !important;
    color: #6e707e !important;
}

.form-control:focus {
    background-color: #ffffff !important;
    border-color: #bac8f3 !important;
    color: #6e707e !important;
    box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25) !important;
}

/* Fix for inputs */
input, select, textarea, button {
    background-color: #ffffff !important;
    color: #6e707e !important;
    border-color: #d1d3e2 !important;
}

input::placeholder {
    color: #858796 !important;
}

.card-stats {
    padding: 15px;
    margin-bottom: 20px;
}

.card-stats:hover {
    transform: translateY(-2px);
    transition: all 0.2s ease;
}

.card-stats-icon {
    font-size: 2rem;
    opacity: 0.8;
    margin-bottom: 10px;
}

/* Alert styling */
.alert-info {
    background-color: #cce5ff !important;
    border-color: #b8daff !important;
    color: #004085 !important;
}

.alert-success {
    background-color: #d4edda !important;
    border-color: #c3e6cb !important;
    color: #155724 !important;
}

.alert-danger {
    background-color: #f8d7da !important;
    border-color: #f5c6cb !important;
    color: #721c24 !important;
}

.btn {
    color: #ffffff !important;
}

.btn-primary {
    color: #ffffff !important;
    background-color: #4e73df !important;
    border-color: #4668c7 !important;
    border-radius: 5px !important;
}

/* Custom buttons styling - for pricing cards and hero section */
.pricing-card .btn-primary, 
.hero-section .btn-primary {
    background-color: #5a75db !important;  /* Slightly lighter shade of blue */
    border: none !important;
    border-radius: 4px !important;
    padding: 12px 20px !important;
    font-weight: 500 !important;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1) !important;
    transition: none !important; /* Keine Animation */
}

.pricing-card .btn-primary:hover,
.hero-section .btn-primary:hover {
    background-color: #5a75db !important; /* Gleiche Farbe wie normal */
    transform: none !important; /* Kein Bewegungseffekt */
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1) !important; /* Gleicher Schatten wie normal */
}

.btn-secondary {
    color: #ffffff !important;
    background-color: #858796 !important;
    border-color: #757384 !important;
}

.btn-secondary:hover {
    background-color: #858796 !important;
    border-color: #757384 !important;
}

.btn-success {
    color: #ffffff !important;
    background-color: #1cc88a !important;
    border-color: #18a87a !important;
}

.btn-success:hover {
    background-color: #1cc88a !important;
    border-color: #18a87a !important;
}

.btn-danger {
    color: #ffffff !important;
    background-color: #e74a3b !important;
    border-color: #d52a1a !important;
}

.btn-danger:hover {
    background-color: #e74a3b !important;
    border-color: #d52a1a !important;
}

.btn-warning {
    color: #ffffff !important;
    background-color: #f6c23e !important;
    border-color: #dda20a !important;
}

.btn-warning:hover {
    background-color: #f6c23e !important;
    border-color: #dda20a !important;
}

.btn-info {
    color: #ffffff !important;
    background-color: #36b9cc !important;
    border-color: #258391 !important;
}

.btn-info:hover {
    background-color: #36b9cc !important;
    border-color: #258391 !important;
}

.btn-light {
    color: #3a3b45 !important;
    background-color: #f8f9fc !important;
    border-color: #d1d3e2 !important;
}

.btn-light:hover {
    background-color: #f8f9fc !important;
    border-color: #d1d3e2 !important;
}

.btn-dark {
    color: #ffffff !important;
    background-color: #5a5c69 !important;
    border-color: #373840 !important;
}

.btn-dark:hover {
    background-color: #5a5c69 !important;
    border-color: #373840 !important;
}

.bg-light {
    background-color: #f8f9fc !important;
}

.text-muted {
    color: #858796 !important;
}

.footer {
    background-color: #f8f9fc !important;
    color: #858796 !important;
}

.list-group {
    background-color: #ffffff !important;
}

.list-group-item {
    background-color: #ffffff !important;
    border-color: #e3e6f0 !important;
    color: #6e707e !important;
}

/* Admin specific styles */
.model-list, .actions-nav, .filter-form {
    background-color: #ffffff !important;
    border-color: #e3e6f0 !important;
    color: #6e707e !important;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
}

.model-list-title {
    color: #5a5c69 !important;
}

.nav-pills .nav-link.active {
    background-color: #4e73df !important;
}

.nav-pills .nav-link {
    color: #6e707e !important;
}

.actions-nav a {
    color: #4e73df !important;
}

.pagination .page-link {
    background-color: #ffffff !important;
    border-color: #e3e6f0 !important;
    color: #6e707e !important;
}

.pagination .page-item.active .page-link {
    background-color: #4e73df !important;
    border-color: #4668c7 !important;
    color: #ffffff !important;
}

/* Chat widget customization */
.chat-container {
    max-width: 800px;
    height: 500px;
    margin: 20px auto;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e3e6f0;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
}

.chat-messages {
    height: 400px;
    padding: 15px;
    overflow-y: auto;
    background-color: #f8f9fc;
}

.message {
    padding: 8px 15px;
    margin-bottom: 10px;
    border-radius: 15px;
    max-width: 80%;
    clear: both;
}

.user-message {
    background-color: #4e73df;
    color: white;
    float: right;
}

.bot-message {
    background-color: #e9ecef;
    color: #5a5c69;
    float: left;
}

.chat-input {
    display: flex;
    padding: 10px;
    background-color: #ffffff;
    border-top: 1px solid #e3e6f0;
}

.chat-input input {
    flex-grow: 1;
    margin-right: 10px;
}

/* Channel icons */
.channel-icon {
    font-size: 1.5rem;
    margin-right: 10px;
}

.website-icon {
    color: #5cb85c;
}

.whatsapp-icon {
    color: #25d366;
}

.facebook-icon {
    color: #3b5998;
}

.slack-icon {
    color: #e01e5a;
}

/* Dashboard statistics */
.stat-card {
    border-left: 4px solid;
    border-radius: 4px;
}

.stat-primary {
    border-left-color: #4e73df;
}

.stat-success {
    border-left-color: #1cc88a;
}

.stat-info {
    border-left-color: #36b9cc;
}

.stat-warning {
    border-left-color: #f6c23e;
}

/* Sidebar styling */
.sidebar {
    min-height: 100vh;
    background-color: #4e73df;
    background-image: linear-gradient(180deg, #4e73df 10%, #224abe 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.sidebar .nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 15px;
    border-left: 3px solid transparent;
}

.sidebar .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-left-color: #ffffff;
    color: #ffffff;
}

.sidebar .nav-link.active {
    background-color: rgba(255, 255, 255, 0.2);
    border-left-color: #ffffff;
    color: #ffffff;
}

.sidebar .nav-link i {
    margin-right: 10px;
    opacity: 0.8;
}

/* Utilities */
.bg-gradient-primary {
    background: linear-gradient(180deg, #4e73df 10%, #224abe 100%);
}

.shadow-custom {
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15) !important;
}

/* Animations */
.fade-in {
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Calendar styling */
.calendar-container {
    background-color: #ffffff;
    border-radius: 5px;
    padding: 15px;
    border: 1px solid #e3e6f0;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
}

.calendar-header {
    background-color: #f8f9fc;
    color: #5a5c69;
    border-bottom: 1px solid #e3e6f0;
    padding: 10px;
    margin: -15px -15px 15px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.calendar-date {
    background-color: #ffffff;
    border: 1px solid #e3e6f0;
    border-radius: 3px;
    padding: 5px;
    margin-bottom: 5px;
    cursor: pointer;
}

.calendar-date.selected {
    background-color: #4e73df;
    color: white;
}

.calendar-date.unavailable {
    opacity: 0.5;
    text-decoration: line-through;
    cursor: not-allowed;
}

.time-slot {
    background-color: #ffffff;
    border: 1px solid #e3e6f0;
    border-radius: 3px;
    padding: 10px;
    margin-bottom: 5px;
    cursor: pointer;
}

.time-slot.selected {
    background-color: #4e73df;
    color: white;
}

.time-slot.unavailable {
    opacity: 0.5;
    text-decoration: line-through;
    cursor: not-allowed;
}

/* Modal styling */
.modal-content {
    background-color: #ffffff;
    border-color: #e3e6f0;
}

.modal-header {
    border-bottom-color: #e3e6f0;
}

.modal-footer {
    border-top-color: #e3e6f0;
}

.modal-title {
    color: #5a5c69;
}

.close {
    color: #5a5c69;
}

.close:hover {
    color: #5a5c69 !important;
}

/* Additional button hover fix */
.btn-outline-primary:hover {
    color: #ffffff !important;
    background-color: #4e73df !important;
    border-color: #4e73df !important;
}

.btn-outline-secondary:hover {
    color: #ffffff !important;
    background-color: #858796 !important;
    border-color: #757384 !important;
}

.btn-outline-success:hover {
    color: #ffffff !important;
    background-color: #1cc88a !important;
    border-color: #18a87a !important;
}

.btn-outline-danger:hover {
    color: #ffffff !important;
    background-color: #e74a3b !important;
    border-color: #d52a1a !important;
}

.btn-outline-warning:hover {
    color: #212529 !important;
    background-color: #f6c23e !important;
    border-color: #dda20a !important;
}

.btn-outline-info:hover {
    color: #ffffff !important;
    background-color: #36b9cc !important;
    border-color: #258391 !important;
}

.btn-outline-light:hover {
    color: #212529 !important;
    background-color: #f8f9fc !important;
    border-color: #d1d3e2 !important;
}

.btn-outline-dark:hover {
    color: #ffffff !important;
    background-color: #5a5c69 !important;
    border-color: #373840 !important;
}

/* Fix for buttons with no-hover-change class */
/* Soft hover effect - maintain contrast for readability */
.no-hover-change.btn-outline-primary:hover {
    color: #ffffff !important;
    background-color: #3a5acf !important; /* Slightly darker than primary */
    border-color: #3a5acf !important;
}

.no-hover-change.btn-outline-secondary:hover {
    color: #ffffff !important;
    background-color: #6e7188 !important; /* Slightly darker than secondary */
    border-color: #6e7188 !important;
}

.no-hover-change.btn-outline-success:hover {
    color: #ffffff !important;
    background-color: #18a87a !important; /* Slightly darker than success */
    border-color: #18a87a !important;
}

.no-hover-change.btn-outline-danger:hover {
    color: #ffffff !important;
    background-color: #d52a1a !important; /* Slightly darker than danger */
    border-color: #d52a1a !important;
}

.no-hover-change.btn-outline-warning:hover {
    color: #ffffff !important;
    background-color: #dda20a !important; /* Slightly darker than warning */
    border-color: #dda20a !important;
}

.no-hover-change.btn-outline-info:hover {
    color: #ffffff !important;
    background-color: #258391 !important; /* Slightly darker than info */
    border-color: #258391 !important;
}

.no-hover-change.btn-outline-light:hover {
    color: #5a5c69 !important; /* darker text for light button */
    background-color: #f8f9fc !important;
    border-color: #d1d3e2 !important;
}

.no-hover-change.btn-outline-dark:hover {
    color: #ffffff !important;
    background-color: #40424c !important; /* Slightly darker than dark */
    border-color: #40424c !important;
}