/* General styles for all modes */
body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

.container {
    margin-top: 20px;
}

.full-width-button {
    width: 100%;
    display: flex;
    justify-content: center;
  }
.status-stopped {
    background-color: #f44336;
    /* Red */
    color: white;
    padding: 2px 5px;
    border-radius: 4px;
    font-size: 12px;
}

.status-searching {
    background-color: #4caf50;
    /* Green */
    color: white;
    padding: 2px 5px;
    border-radius: 4px;
    font-size: 12px;
}
.status-donate {
    background-color: #BFA100;
    color: white;
    padding: 2px 5px;
    border-radius: 4px;
    font-size: 12px;
}
.delete-link {
    color: #f44336;
    /* Red */
    text-decoration: none;
    margin-left: 10px;
    vertical-align: middle;
    /* Align with status */
}

.delete-icon {
    vertical-align: middle;
}

.busquedas-activas li {
    border-bottom: 1px solid #ddd;
    /* Add separator between list items */
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.alert {
    padding: 16px;
    border-radius: 4px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
}

.alert i {
    margin-right: 8px;
}

.alert-success {
    background-color: #A5D6A7;
    /* Green */
    color: #2E7D32;
    /* Dark Green */
}

.alert-info {
    background-color: #B3E5FC;
    /* Light Blue */
    color: #01579B;
    /* Dark Blue */
}

.alert-warning {
    background-color: #FFF59D;
    /* Yellow */
    color: #F57F17;
    /* Dark Yellow */
}

.alert-error {
    background-color: #EF9A9A;
    /* Red */
    color: #B71C1C;
    /* Dark Red */
}
/*flex to move items inline*/
.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}
.user-info img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    /* Circular image */
    object-fit: cover;
}
/* Dark mode styles */
body.dark-mode {
    background-color: #121212;
    color: #eee;
}
/* Dark mode styles (more specific for mobile menu) */
body.dark-mode .sidenav {
    /* Added .sidenav */
    background-color: #212121;
}

body.dark-mode .sidenav li>a {
    /* Added for mobile menu text */
    color: #eee;
}

body.dark-mode .sidenav li>a>i.material-icons {
    /* Added for mobile menu text */
    color: #eee;
}

body.dark-mode .sidenav li>a>span {
    color: #eee;
}

body.dark-mode .sidenav li>i {
    /* Added for mobile menu text */
    color: #eee;
}
body.dark-mode nav {
    background-color: #212121;
}

body.dark-mode .collection-item {
    background-color: #333;
    color: #eee;
}

body.dark-mode .input-field input,
body.dark-mode .input-field textarea,
body.dark-mode .input-field select {
    color: #eee;
}

body.dark-mode .input-field label {
    color: #ccc;
}
body.dark-mode #chat-window {
    background-color: #333; /* Dark background for dark mode */
    color: #f5f5f5; /* Light text color for readability */
    border: 1px solid #555; /* Darker border for better contrast */
}
#installButton {
    background-color: #ee6e73;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000; 
  }
nav {
    color: #fff;
    background-color: #b22222;
    width: 100%;
    height: 60px;
    line-height: 60px;
}
.sidenav {
    width: 60%;
}

.sidenav .user-view {
    padding-bottom: 32px;
}

.sidenav li a {
    display: flex;
    align-items: center;
    height: 48px;
    padding: 0 16px;
    margin-bottom: 8px; 
}

.sidenav li a i {
    margin: 0 16px 0 0;
}

.sidenav li a.btn-floating {
    margin: 0;
    display: inline-flex;
}

.sidenav li a.full-width-anchor {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
    border-radius: 8px;
    padding: 12px 20px; /* More padding for better spacing */
    height: auto;
    line-height: 1;
    white-space: nowrap; /* Keep text in one line */
    gap: 10px; /* Space between icon and text */
}

.sidenav li a.full-width-anchor i {
    min-width: 24px; /* Ensure icons are properly aligned */
    text-align: left;
}
.admin-actions a {
    margin-right: 10px; /* Add some spacing between buttons */
}