 :root {
    --primary-color: #0b1221; /* Koyu mavi */
    --secondary-color: #1a2536; /* Daha koyu mavi */
    --tertiary-color: #d94f4f; /* Yeşil yerine kırmızı bir ton (örnek olarak) */
}

body {
    background: radial-gradient(
        circle at bottom,
        var(--tertiary-color) 0%,
        var(--secondary-color) 40%,
        var(--primary-color) 100%
    );
    color: #fff;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}


    .sidebar {
        width: 250px;
        height: 100vh;
        background-color: #1f1f1f;
        position: fixed;
        top: 0;
        left: 0; /* PC'de varsayılan olarak açık */
        transition: all 0.3s ease;
        z-index: 1000;
    }

    .sidebar.open {
        left: 0;
    }

   .sidebar .logo {
    display: flex;
    align-items: center;
    margin: 10px;
}

.sidebar .logo img {
    height: 60px; /* Eski değer: 40px */
    margin-right: 10px;
    transition: transform 0.3s ease; /* Hover animasyonu için */
}

.sidebar .logo img:hover {
    transform: scale(1.1); /* Hover sırasında hafif büyütme efekti */
}

    .sidebar .menu-item {
        display: flex;
        align-items: center;
        padding: 3px 9px;
        color: #ffffff;
        text-decoration: none;
        transition: background-color 0.3s ease;
        border-radius: 5px;
    }

    .sidebar .menu-item i {
        margin-right: 3px;
    }

    .sidebar .menu-item:hover {
        background-color: #00d4ff;
        color: #1f1f1f;
    }

    .sidebar .user-info {
        margin-top: auto;
        text-align: center;
        padding: 20px;
    }

    .sidebar .user-info img {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        border: 3px solid #00d4ff;
        margin-bottom: 10px;
    }

    .content {
        padding: 20px;
        margin-left: 250px; /* Sidebar açıkken içerik kayar */
        transition: margin-left 0.3s ease;
    }

    .content.shifted {
        margin-left: 0;
    }

    .mobile-bar {
        position: fixed;
        bottom: 0;
        width: 100%;
        background-color: #1f1f1f;
        color: white;
        display: none; /* Varsayılan olarak gizli */
        justify-content: space-around;
        padding: 10px 0;
        z-index: 1050;
    }

    .mobile-bar a {
        color: white;
        text-decoration: none;
        text-align: center;
    }

    .mobile-bar a i {
        font-size: 18px;
    }

    .mobile-bar a:hover {
        color: #00d4ff;
    }

    .toggle-btn {
        position: fixed;
        top: 15px;
        left: 15px;
        z-index: 1100;
        background-color: #1f1f1f;
        color: #ffffff;
        border: none;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: none; /* PC'de gizli */
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    .toggle-btn:hover {
        background-color: #00d4ff;
    }

    .modal {
        z-index: 1055;
    }

    @media (max-width: 768px) {
        .content {
            margin-left: 0;
        }

        .sidebar {
            left: -250px; /* Mobilde kapalı pozisyon */
        }

        .sidebar.open {
            left: 0;
        }

        .mobile-bar {
            display: flex; /* Sadece mobilde göster */
        }

        .toggle-btn {
            display: flex; /* Mobilde göster */
        }
    }
    .profile-icon {
    position: relative;
    display: inline-block;
}

.profile-icon .badge {
    position: absolute;
    top: -10px; /* İkonun üstüne doğru pozisyon */
    right: -10px; /* İkonun sağına doğru pozisyon */
    background-color: red;
    color: white;
    border-radius: 50%;
    font-size: 12px;
    padding: 5px 8px;
    font-weight: bold;
    line-height: 1;
}
@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* Buton stili (Mevcut animated-button stiliyle uyumlu) */
.animated-button {
    position: relative;
    display: inline-block;
    padding: 6px 20px;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border: none;
    border-radius: 30px;
    overflow: hidden;
    transition: background 0.4s, transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

.animated-button:hover {
    background: linear-gradient(135deg, #0056b3, #007bff);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.5);
}

.animated-button::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.animated-button:hover::before {
    width: 400%;
    height: 400%;
}
    /* Modal Stilleri */
.chat-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.chat-modal-content {
    background-color: #333;
    padding: 10px;
    border-radius: 10px;
    width: 300px;
    display: flex;
    flex-direction: column;
    color: #fff;
}

.close-button {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    align-self: flex-end;
}

.close-button:hover {
    color: #f00;
}
.transfer-section h3 {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-warning i {
    font-size: 1.2rem;
    margin-right: 5px;
}