body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #333;
}

header {
    background: linear-gradient(to right, #1c2331, #ffffff);
    padding: 20px;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    border-bottom: 2px solid #1c2331;
}

h1 {
    color: #fff;
    margin: 0;
    font-size: 28px;
}

.container {
    display: flex;
    max-width: 1200px;
    margin: 80px auto 20px;
}

.sidebar {
    flex: 0 0 250px;
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-right: 20px;
}

.message-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.message-menu li {
    cursor: pointer;
    padding: 10px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.message-menu li:hover {
    background-color: #f9f9f9;
    transform: scale(1.05);
}

.main-content {
    flex: 1;
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

form {
    display: grid;
    gap: 10px;
}

label {
    font-weight: bold;
}

select {
    width: 15%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

input[type="text"],
textarea {
    width: 95%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

button[type="submit"] {
    padding: 10px 20px;
    background-color: #ff5722;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #f44336;
}

footer {
    background: linear-gradient(to right, #ffffff, #1c2331);
    padding: 10px;
    text-align: center;
    color: #fff;
    font-size: 14px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    border-top: 2px solid #ff0000;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    max-width: 600px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.modal-title {
    margin: 0;
    font-size: 24px;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #000;
}

.form-container {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.info-text {
    font-size: 14px;
    color: #777;
    margin-bottom: 5px;
}

.keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 5px;
}

.keyword {
    background-color: #f1f1f1;
    padding: 5px 10px;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.keyword:hover {
    background-color: #e0e0e0;
}

.keyword-select {
    margin-left: 5px;
}

.card {
    display: none;
    background-color: #fff;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-top: 10px;
}

.category-name {
    font-weight: bold;
}

.keyword-select {
    appearance: none;
    background-color: #f1f1f1;
    border: none;
    border-radius: 20px;
    padding: 5px 10px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-block;
    position: relative;
    margin-left: 5px;
}

.keyword-select:hover {
    background-color: #e0e0e0;
}

.keyword-select option {
    background-color: #fff;
    color: #333;
}

.keyword-select option:first-child {
    display: none;
}

.keyword-select::after {
    content: 'Más...';
    display: inline-block;
    background-color: #f1f1f1;
    padding: 5px 10px;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.keyword-select:hover::after {
    background-color: #e0e0e0;
}
.container {
    display: flex;
    max-width: 1200px;
    margin: 80px auto 20px;
    height: calc(100vh - 160px); /* Ajusta la altura del contenedor */
}

.sidebar {
    flex: 0 0 250px;
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-right: 20px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
}

.sidebar::-webkit-scrollbar {
    width: 8px;
}

.sidebar::-webkit-scrollbar-track {
    background-color: #f1f1f1;
}

.sidebar::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 4px;
}

.main-content {
    flex: 1;
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
}

.main-content::-webkit-scrollbar {
    width: 8px;
}

.main-content::-webkit-scrollbar-track {
    background-color: #f1f1f1;
}

.main-content::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 4px;
}

.sidebar h2,
.main-content h2 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
    text-transform: uppercase;
        text-align: center;
}

.modal-header {
    background: linear-gradient(to right, #1c2331, #ffffff);
    padding: 20px;
    text-align: center;
    border-bottom: 2px solid #1c2331;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    color: #fff;
    margin: 0;
    font-size: 24px;
}

.modal-footer {
    background: linear-gradient(to right, #ffffff, #1c2331);
    padding: 10px;
    text-align: center;
    color: #fff;
    font-size: 14px;
    border-top: 2px solid #ff0000;
}

.close {
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #ff0000;
}


