/* Estilo para el panel de administración */
.admin-panel {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1050;
    overflow-y: auto;
    padding: 2rem;
}

.admin-panel-content {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--dark-color);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--accent-color);
}

.admin-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--accent-color);
    padding-bottom: 1rem;
}

.admin-panel-title {
    font-size: 2rem;
    color: var(--light-color);
}

.close-admin {
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.message-list {
    display: grid;
    gap: 1.5rem;
}

.message-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.message-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-color);
}

.message-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.message-info h4 {
    font-size: 1.2rem;
    color: var(--light-color);
    margin-bottom: 0.3rem;
}

.message-info p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.message-date {
    font-size: 0.9rem;
    color: var(--accent-color);
}

.message-content {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.message-service {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(255, 119, 0, 0.1);
    color: var(--accent-color);
    border-radius: 50px;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.message-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.8rem;
    margin-top: 1rem;
}

.message-button {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.delete-button {
    background: rgba(255, 0, 0, 0.1);
    color: #ff3333;
    border: 1px solid #ff3333;
}

.delete-button:hover {
    background: rgba(255, 0, 0, 0.2);
}

.reply-button {
    background: rgba(0, 136, 255, 0.1);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.reply-button:hover {
    background: rgba(0, 136, 255, 0.2);
}

.no-messages {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    padding: 2rem;
    font-size: 1.2rem;
}

/* Estilos para la autenticación de administrador */
.admin-login {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--dark-color);
    padding: 2rem;
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    z-index: 1060;
    border: 1px solid var(--accent-color);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    display: none;
}

.admin-login-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.admin-login-title {
    font-size: 1.8rem;
    color: var(--light-color);
    margin-bottom: 0.5rem;
}

.login-form {
    display: grid;
    gap: 1.5rem;
}