/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

 /* app/assets/stylesheets/chat.css */

body {
    font-family: Arial, sans-serif;
    margin: 20px;
}

h1 {
    color: #333;
    font-size: 2em;
    margin-bottom: 10px;
}

p {
    font-size: 1.2em;
}

strong {
    font-weight: bold;
}

#messages {
    margin-top: 20px;
}

#messages div {
    padding: 10px;
    margin-bottom: 10px;
}

#messages h5 {
    margin: 0;
    font-size: 1em;
    color: #555;
}

#messages p {
    margin: 5px 0 0;
    font-size: 1.1em;
    color: #333;
}

form {
    margin-top: 20px;
}

form div {
    margin-bottom: 10px;
}

form textarea {
    width: 100%;
    height: 100px;
    padding: 10px;
    font-size: 1em;
    border-radius: 5px;
}

form input[type="submit"] {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

form input[type="submit"]:hover {
    background-color: #45a049;
}

footer {
    margin-top: 20px;
    text-align: center;
}

footer a {
    margin: 0 10px;
    color: #007BFF;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

footer button {
    background-color: #FF4136;
    color: white;
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

footer button:hover {
    background-color: #E63946;
}

/* app/assets/stylesheets/chat.css */

body {
    font-family: Arial, sans-serif;
    margin: 20px;
}

h1 {
    color: #333;
    font-size: 2em;
    margin-bottom: 10px;
}

p {
    font-size: 1.2em;
}

strong {
    font-weight: bold;
}

#messages {
    margin-top: 20px;
}

#messages div {
    padding: 10px;

    margin-bottom: 10px;
}

#messages h5 {
    margin: 0;
    font-size: 1em;
    color: #555;
}

#messages p {
    margin: 5px 0 0;
    font-size: 1.1em;
    color: #333;
}

form {
    margin-top: 20px;
}

form div {
    margin-bottom: 10px;
}

form textarea {
    width: 100%;
    height: 100px;
    padding: 10px;
    font-size: 1em;
    border-radius: 5px;
}

form input[type="submit"] {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

form input[type="submit"]:hover {
    background-color: #45a049;
}

footer {
    margin-top: 20px;
    text-align: center;
}

footer a {
    margin: 0 10px;
    color: #007BFF;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

footer button {
    background-color: #FF4136;
    color: white;
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

footer button:hover {
    background-color: #E63946;
}

.message-label {
    font-weight: bold;
    display: block;
    margin-top: 10px;
    color: #333;
}

.message-content {
    white-space: pre-wrap;
    padding: 10px;
    border-radius: 5px;
    background-color: #f9f9f9;
    margin-top: 5px;
    color: #333;
}

.sent-message {
    background-color: #e0f7fa;
    width: 80%;
    margin-left: auto;
    margin-right: 0;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
}

.rcv-message {
    background-color: #f1f8e9;
    width: 80%;
    margin-left: 0;
    margin-right: auto;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
}

/* app/assets/stylesheets/chat.css */

body {
    font-family: Arial, sans-serif;
    margin: 20px;
}

h1 {
    color: #333;
    font-size: 2em;
    margin-bottom: 10px;
}

.actions {
    display: flex;
}

.new-chat-btn {
    background-color: #4CAF50;
    color: white;
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
}

.open-btn {
    background-color: #4CAF50;
    color: white;
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    margin-left: auto;
    margin-right: 10px;
}

.edit-btn {
    background-color: darkgray;
    color: white;
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    margin-right: auto;
    margin-left: 10px;
}

.edit-btn:hover {
    background-color: black;

}

.new-chat-btn:hover, .open-btn:hover {
    background-color: #45a049;
}

#chats {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

#chats th, #chats td {
    border: 1px solid #ddd;
    padding: 8px;
}

#chats th {
    background-color: #f2f2f2;
    text-align: left;
}

#chats tr:nth-child(even) {
    background-color: #f9f9f9;
}

#chats tr:hover {
    background-color: #f1f1f1;
}

#chats td {
    text-align: left;
    vertical-align: top;
}

.landing-page {
    text-align: center;
    padding: 50px;
  }
  
  .landing-page header {
    margin-bottom: 30px;
  }
  
  .auth-buttons .btn {
    margin: 10px;
  }
  



