/* custom.css - Özel stiller */

:root {
    --primary-color: #25D366;
    --secondary-color: #128C7E;
    --dark-color: #075E54;
    --light-color: #DCF8C6;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.3rem;
}

.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border: none;
    border-radius: 10px;
}

.card-header {
    background-color: white;
    border-bottom: 2px solid #e9ecef;
    font-weight: 600;
}

.btn-whatsapp {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-whatsapp:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}

.message-item {
    padding: 10px;
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.2s;
}

.message-item:hover {
    background-color: #f8f9fa;
}

.qr-container {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.qr-container img {
    max-width: 300px;
    border: 3px solid var(--primary-color);
    border-radius: 10px;
    padding: 10px;
}

.device-card {
    transition: transform 0.2s;
}

.device-card:hover {
    transform: translateY(-5px);
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
}

.status-connected {
    background-color: #28a745;
}

.status-disconnected {
    background-color: #dc3545;
}

.status-pending {
    background-color: #ffc107;
}

footer {
    padding: 20px 0;
    margin-top: 50px;
}

/* Toast bildirimleri için */
.toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1rem;
    }

    .card-body {
        padding: 15px;
    }
}

/* Animasyonlar */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.3s ease-in;
}

/* Loading spinner */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}