<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Inbox</title>

    <script src="https://cdn.jsdelivr.net/npm/jquery@3.7.1/dist/jquery.min.js"></script>
    <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/fomantic-ui@2.9.3/dist/semantic.min.css">
    <script src="https://cdn.jsdelivr.net/npm/fomantic-ui@2.9.3/dist/semantic.min.js"></script>
    <!-- Bootstrap Styles -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet"
        integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
    <!-- Main Styles -->
    <link rel="stylesheet" href="{{ asset('assets/style.css') }}">
<link rel="icon" href="{{asset('images/favicon.ico')}}" type="image/png">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css" />
</head>
</head>

<body class="color-dark-green">

    <div class="container-fluid">
        <div class="main-wrapper row">

            <!-- Sidebar -->
            <x-sidebar />
            <!-- End -->

            <!-- Header And Main Content Wrapper -->
            <div class="content-area position-relative bg-light-color">

                <!-- Header -->
                <x-header />
                <!-- End -->

                <!-- Main Content Area -->
                @yield('content')
                <!-- End -->

               <x-chat-box />
                
                
                
            </div>
        </div>
    </div>

    <!-- Jquery -->
    <!-- <script src="https://code.jquery.com/jquery-3.7.1.min.js"
        integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo=" crossorigin="anonymous"></script> -->

    <!-- Bootstrap scripts -->
    <!-- <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"
        integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz"
        crossorigin="anonymous"></script> -->

    <!-- Fomantic Ui Scripts -->
    <!-- <script src="https://cdn.jsdelivr.net/npm/fomantic-ui@2.9.3/dist/semantic.min.js"></script> -->

    <!-- Main Custom Js -->
    <script src="{{ asset('assets/script.js') }}"></script>

    <script>document.querySelector('.input-action img[alt="Attachment"]').addEventListener('click', function() {
    document.getElementById('file-picker').click();
});
</script>


    <style>
        .outer-message-input-box {
    width: 100%;
    padding: 10px;
    background-color: #f8f9fa;
}

.inner-message-input {
    width: 100%;
    background-color: #ffffff;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.input-action img {
    margin-left: 10px;
    cursor: pointer;
}

.input-action .file-picker {
    display: none;
}

.fa-paper-plane-o {
  font-size: 17px !important;
  background: #748C62 !important;
  padding: 3px 7px !important;
  color: white !important;
  border-radius: 3px !important;
  cursor: pointer !important;
}

    </style>
</body>

</html>